Merge branch '135-statisticss-some-entries-missing' into 'master'

Resolve "Statisticss some entries missing"

Closes #135

See merge request marcel.schwarz/2020ss-qbc-geofence-timetracking!117
This commit is contained in:
Simon Kellner 2020-06-14 17:22:29 +00:00
commit 8de701c19f
5 changed files with 12 additions and 7 deletions

View File

@ -186,7 +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 { }
if (this.status == 403) {
hasNext = false; hasNext = false;
} }
}; };

View File

@ -188,7 +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 { }
if (this.status == 403) {
hasNext = false; hasNext = false;
} }
}; };

View File

@ -149,7 +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 { }
if (this.status == 403) {
hasNext = false; hasNext = false;
} }
}; };

View File

@ -189,9 +189,10 @@ export default {
if (recordsDB.page.number == recordsDB.page.totalPages - 1) { if (recordsDB.page.number == recordsDB.page.totalPages - 1) {
hasNext = false; hasNext = false;
} }
} else { }
if (this.status == 403) {
hasNext = false; hasNext = false;
} }
}; };
xhttp.open( xhttp.open(
"GET", "GET",
@ -201,7 +202,7 @@ export default {
"T00:00:01" + "T00:00:01" +
"&end=" + "&end=" +
today + today +
"T00:00:01" + "T23:59:59" +
"&username=" + "&username=" +
sessionStorage.getItem("username") + sessionStorage.getItem("username") +
"&page=" + "&page=" +

View File

@ -117,7 +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 { }
if (this.status == 403) {
hasNext = false; hasNext = false;
} }
}; };