Skip to content

Commit

Permalink
hotfix(BB-24782): correction of a verification on sync.js
Browse files Browse the repository at this point in the history
  • Loading branch information
laraujo authored and renato-gomes committed May 15, 2024
1 parent 3bb5fb6 commit 5af61e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/js/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ $(document).ready(function() {
newsletter: true
}),
success:function(data, status) {
if (data && data !== "No users!") {
if (data !=="" && data !== "No users!") {
var json = JSON.parse(data);
json = pagesStores = calcPages(json);

Expand Down Expand Up @@ -260,7 +260,7 @@ $(document).ready(function() {
size: 1,
}),
success:function(data, status) {
if (data !== "") {
if (data !== "" && data !== "No users!") {
var json = JSON.parse(data);
json = pagesStores = calcPages(json);
$('#progressbarSync').show();
Expand Down

0 comments on commit 5af61e3

Please sign in to comment.