diff --git a/frontend/src/Notifications.svelte b/frontend/src/Notifications.svelte deleted file mode 100644 index 169d46a1..00000000 --- a/frontend/src/Notifications.svelte +++ /dev/null @@ -1,137 +0,0 @@ - - -{#if $notifications} - -{/if} - - diff --git a/frontend/src/TaskDetail.svelte b/frontend/src/TaskDetail.svelte index 209acfa1..a1e7790d 100644 --- a/frontend/src/TaskDetail.svelte +++ b/frontend/src/TaskDetail.svelte @@ -6,7 +6,7 @@ import SummaryComments from './SummaryComments.svelte'; import SubmitsDiff from './SubmitsDiff.svelte'; import { fetch } from './api.js'; import { user } from './global'; -import { notifications } from './notifications.js'; +import { notifications } from './utilities/notifications'; import { hideComments, HideCommentsState } from './stores.js'; export let url; diff --git a/frontend/src/Teacher/AllTasks.vue b/frontend/src/Teacher/AllTasks.vue index d6273605..e6b61640 100644 --- a/frontend/src/Teacher/AllTasks.vue +++ b/frontend/src/Teacher/AllTasks.vue @@ -9,7 +9,7 @@ import DataTablesCore from 'datatables.net-bs5'; import DataTable from 'datatables.net-vue3'; import { format } from 'date-fns'; import { onMounted, ref } from 'vue'; -import { getFromAPI } from '../utilities'; +import { getFromAPI } from '../utilities/api'; DataTable.use(DataTablesCore); diff --git a/frontend/src/Teacher/InbusImport.vue b/frontend/src/Teacher/InbusImport.vue index 9bff1e82..7ce9c962 100644 --- a/frontend/src/Teacher/InbusImport.vue +++ b/frontend/src/Teacher/InbusImport.vue @@ -8,7 +8,7 @@ */ import { computed, ref } from 'vue'; -import { csrfToken } from '../api.js'; +import { csrfToken } from '../utilities/api'; import { ConcreteActivity, InbusSubjectVersion } from './inbusdto'; interface KelvinSubject { diff --git a/frontend/src/components/Loader.vue b/frontend/src/components/Loader.vue index 77b97edb..26243548 100644 --- a/frontend/src/components/Loader.vue +++ b/frontend/src/components/Loader.vue @@ -1,5 +1,15 @@ + + + + diff --git a/frontend/src/components/SuspensionWrapper.vue b/frontend/src/components/SuspensionWrapper.vue index ae9837b7..60b6b406 100644 --- a/frontend/src/components/SuspensionWrapper.vue +++ b/frontend/src/components/SuspensionWrapper.vue @@ -8,7 +8,7 @@ defineProps<{