Fix missing requests

This commit is contained in:
Simon Kellner 2020-06-14 19:14:59 +02:00
parent fa82e80f13
commit 1f7d044ccc
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;
} }
}; };