Fixed issue with date range.
Build and Test App / Build-and-test-App (push) Successful in 34s
Details
Build and Test App / Build-and-test-App (push) Successful in 34s
Details
This commit is contained in:
parent
7803cb741b
commit
9360997254
|
@ -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({
|
|||
<tbody>
|
||||
<tr v-for="(student, idx) in getVisibleStudents()" :key="student.id" style="height: 2em;">
|
||||
<td v-if="selectedView !== TableView.WHITEBOARD" style="text-align: right; padding-right: 0.5em;">{{ idx + 1
|
||||
}}.</td>
|
||||
}}.</td>
|
||||
<StudentNameCell :student="student" :class-id="classId"
|
||||
:show-labels="selectedView !== TableView.WHITEBOARD" />
|
||||
<td v-if="assignedDesks" v-text="student.deskNumber"></td>
|
||||
|
|
Loading…
Reference in New Issue