diff --git a/backend/api/serializers/project_serializer.py b/backend/api/serializers/project_serializer.py index 582a097b..afdfdce4 100644 --- a/backend/api/serializers/project_serializer.py +++ b/backend/api/serializers/project_serializer.py @@ -100,8 +100,7 @@ class ProjectSerializer(serializers.ModelSerializer): ) extra_checks = serializers.HyperlinkedIdentityField( - view_name="project-extra-checks", - read_only=True + view_name="project-extra-checks" ) groups = serializers.HyperlinkedIdentityField( diff --git a/frontend/src/assets/lang/app/en.json b/frontend/src/assets/lang/app/en.json index 5a09df76..bf9b1062 100644 --- a/frontend/src/assets/lang/app/en.json +++ b/frontend/src/assets/lang/app/en.json @@ -107,6 +107,7 @@ "courses": { "create": "Create course", "edit": "Edit course", + "save": "Save course", "clone": "Clone course", "cloneAssistants": "Clone assistants:", "cloneTeachers": "Clone teachers:", diff --git a/frontend/src/assets/lang/app/nl.json b/frontend/src/assets/lang/app/nl.json index c9bcb259..9fc87834 100644 --- a/frontend/src/assets/lang/app/nl.json +++ b/frontend/src/assets/lang/app/nl.json @@ -108,6 +108,7 @@ "courses": { "create": "Creƫer vak", "edit": "Bewerk vak", + "save": "Vak opslaan", "clone": "Kloon vak", "cloneAssistants": "Kloon assistenten:", "cloneTeachers": "Kloon lesgevers:", diff --git a/frontend/src/components/Loading.vue b/frontend/src/components/Loading.vue index 151f7e33..eac23369 100644 --- a/frontend/src/components/Loading.vue +++ b/frontend/src/components/Loading.vue @@ -2,19 +2,17 @@ import ProgressSpinner from 'primevue/progressspinner'; import { useTimeout } from '@vueuse/core'; -withDefaults(defineProps<{height?:string}>(), { - height: '4rem' +withDefaults(defineProps<{ height?: string }>(), { + height: '4rem', }); const show = useTimeout(250); - - + diff --git a/frontend/src/components/courses/CourseForm.vue b/frontend/src/components/courses/CourseForm.vue index d9567e4d..8cf979c1 100644 --- a/frontend/src/components/courses/CourseForm.vue +++ b/frontend/src/components/courses/CourseForm.vue @@ -1,10 +1,7 @@ @@ -120,13 +122,7 @@ onMounted(async () => { -