diff --git a/frontend/src/views/charts/AccountPie.vue b/frontend/src/views/charts/AccountPie.vue index bfd0538..66e20c3 100644 --- a/frontend/src/views/charts/AccountPie.vue +++ b/frontend/src/views/charts/AccountPie.vue @@ -186,6 +186,8 @@ export default { if (recordsDB.page.number == recordsDB.page.totalPages - 1) { hasNext = false; } + } else { + hasNext = false; } }; xhttp.open( diff --git a/frontend/src/views/charts/MonthSummary.vue b/frontend/src/views/charts/MonthSummary.vue index 9043317..c355db0 100644 --- a/frontend/src/views/charts/MonthSummary.vue +++ b/frontend/src/views/charts/MonthSummary.vue @@ -188,6 +188,8 @@ export default { if (recordsDB.page.number == recordsDB.page.totalPages - 1) { hasNext = false; } + } else { + hasNext = false; } }; diff --git a/frontend/src/views/charts/RevenuePie.vue b/frontend/src/views/charts/RevenuePie.vue index df94a62..69da257 100644 --- a/frontend/src/views/charts/RevenuePie.vue +++ b/frontend/src/views/charts/RevenuePie.vue @@ -149,6 +149,8 @@ export default { if (recordsDB.page.number == recordsDB.page.totalPages - 1) { hasNext = false; } + } else { + hasNext = false; } }; xhttp.open( diff --git a/frontend/src/views/charts/WeekSummary.vue b/frontend/src/views/charts/WeekSummary.vue index 852d908..43725f1 100644 --- a/frontend/src/views/charts/WeekSummary.vue +++ b/frontend/src/views/charts/WeekSummary.vue @@ -189,7 +189,9 @@ export default { if (recordsDB.page.number == recordsDB.page.totalPages - 1) { hasNext = false; } - } + } else { + hasNext = false; + } }; xhttp.open( "GET", diff --git a/frontend/src/views/charts/WorkPausePie.vue b/frontend/src/views/charts/WorkPausePie.vue index 2d7c068..8ee7b2a 100644 --- a/frontend/src/views/charts/WorkPausePie.vue +++ b/frontend/src/views/charts/WorkPausePie.vue @@ -117,6 +117,8 @@ export default { if (recordsDB.page.number == recordsDB.page.totalPages - 1) { hasNext = false; } + } else { + hasNext = false; } }; xhttp.open(