diff --git a/app/src/apps/classroom_compliance/EntriesTable.vue b/app/src/apps/classroom_compliance/EntriesTable.vue index 8d6c755..df5e311 100644 --- a/app/src/apps/classroom_compliance/EntriesTable.vue +++ b/app/src/apps/classroom_compliance/EntriesTable.vue @@ -148,7 +148,7 @@ async function showThisWeek() { } // Then set the from-date to the Monday of that week. - fromDate.value = new Date(today) + fromDate.value = new Date(toDate.value) fromDate.value.setHours(0, 0, 0, 0) fromDate.value.setDate(toDate.value.getDate() - 4) await loadEntries() @@ -312,7 +312,7 @@ defineExpose({ {{ idx + 1 - }}. + }}.