From 314b606609399023628bef0737ffb7e051128d90 Mon Sep 17 00:00:00 2001 From: dyedwiper Date: Fri, 3 Nov 2023 11:42:40 +0100 Subject: [PATCH] Fix name of id prop --- src/pages/administration/SchoolSettings.page.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/administration/SchoolSettings.page.vue b/src/pages/administration/SchoolSettings.page.vue index bd1ee4ef5f..524625bac1 100644 --- a/src/pages/administration/SchoolSettings.page.vue +++ b/src/pages/administration/SchoolSettings.page.vue @@ -242,7 +242,7 @@ export default defineComponent({ // if the school object gets a new reference (e.g. after updating it) do not reload the year or systems if ( !schoolsModule.getFederalState || - !schoolsModule.getFederalState._id || + !schoolsModule.getFederalState.id || !schoolsModule.systems || !schoolsModule.systems.length || (newSchool && newSchool.id && (!oldSchool || !oldSchool.id))