Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Commit cb05fe8

Browse files
committed
fix save state footer
1 parent 9b8cb57 commit cb05fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Closure_Front_End/src/components/SaveStateFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { currentCourseplan, isDirty } from '@/course-store'
3232
export default {
3333
setup() {
3434
const lastSaved = computed(() => {
35-
if (currentCourseplan.value.modified_at) {
35+
if (currentCourseplan.value?.modified_at) {
3636
const date = new Date(currentCourseplan.value.modified_at)
3737
return `נשמר לאחרונה ב${date.toLocaleString()}`
3838
}

0 commit comments

Comments
 (0)