Merge branch '134-fix-request-loop-on-statistics-page' into 'master'

Resolve "Fix request loop on statistics page"

Closes #134

See merge request marcel.schwarz/2020ss-qbc-geofence-timetracking!116
This commit is contained in:
Simon Kellner 2020-06-14 15:08:01 +00:00
commit fa82e80f13
5 changed files with 11 additions and 1 deletions

View File

@ -186,6 +186,8 @@ export default {
if (recordsDB.page.number == recordsDB.page.totalPages - 1) { if (recordsDB.page.number == recordsDB.page.totalPages - 1) {
hasNext = false; hasNext = false;
} }
} else {
hasNext = false;
} }
}; };
xhttp.open( xhttp.open(

View File

@ -188,6 +188,8 @@ export default {
if (recordsDB.page.number == recordsDB.page.totalPages - 1) { if (recordsDB.page.number == recordsDB.page.totalPages - 1) {
hasNext = false; hasNext = false;
} }
} else {
hasNext = false;
} }
}; };

View File

@ -149,6 +149,8 @@ export default {
if (recordsDB.page.number == recordsDB.page.totalPages - 1) { if (recordsDB.page.number == recordsDB.page.totalPages - 1) {
hasNext = false; hasNext = false;
} }
} else {
hasNext = false;
} }
}; };
xhttp.open( xhttp.open(

View File

@ -189,6 +189,8 @@ export default {
if (recordsDB.page.number == recordsDB.page.totalPages - 1) { if (recordsDB.page.number == recordsDB.page.totalPages - 1) {
hasNext = false; hasNext = false;
} }
} else {
hasNext = false;
} }
}; };
xhttp.open( xhttp.open(

View File

@ -117,6 +117,8 @@ export default {
if (recordsDB.page.number == recordsDB.page.totalPages - 1) { if (recordsDB.page.number == recordsDB.page.totalPages - 1) {
hasNext = false; hasNext = false;
} }
} else {
hasNext = false;
} }
}; };
xhttp.open( xhttp.open(