diff --git a/src/frontend/src/backend.js b/src/frontend/src/backend.js
index e011a47..6d972b1 100644
--- a/src/frontend/src/backend.js
+++ b/src/frontend/src/backend.js
@@ -1,5 +1,5 @@
import logger from "@/logger.js";
-import {useErrorStore} from "@/store/error.js";
+import {useNotificationStore} from "@/store/notification.js";
import {config} from "@/config";
const getCsrfToken = () => {
@@ -141,7 +141,7 @@ function handleErrorResponse(data, requestingStore, request) {
const error = new Error('Internal backend error');
error.errorObj = errorObj;
- const errorStore = useErrorStore();
+ const errorStore = useNotificationStore();
if (request.expectedException === null || (Array.isArray(request.expectResponse) && !request.expectedException.includes(data.error.title)) || (typeof request.expectedException === 'string' && data.error.title !== request.expectedException)) {
logger.error(errorObj, request.expectedException);
@@ -170,7 +170,7 @@ const executeRequest = async (requestingStore, request) => {
}
logger.error(error, e);
- const errorStore = useErrorStore();
+ const errorStore = useNotificationStore();
void errorStore.addError(error, {store: requestingStore, request: request});
throw e;
@@ -199,7 +199,7 @@ const executeRequest = async (requestingStore, request) => {
}
logger.error(error);
- const errorStore = useErrorStore();
+ const errorStore = useNotificationStore();
void errorStore.addError(error, {store: requestingStore, request: request});
throw e;
}
@@ -217,7 +217,7 @@ const executeRequest = async (requestingStore, request) => {
trace: null
}
logger.error(error);
- const errorStore = useErrorStore();
+ const errorStore = useNotificationStore();
void errorStore.addError(error, {store: requestingStore, request: request});
throw new Error('Internal backend error');
diff --git a/src/frontend/src/components/UI/TheNotificationSystem.vue b/src/frontend/src/components/UI/TheNotificationSystem.vue
index d410f68..cd2b42e 100644
--- a/src/frontend/src/components/UI/TheNotificationSystem.vue
+++ b/src/frontend/src/components/UI/TheNotificationSystem.vue
@@ -1,54 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ spinnerMsg }}
+
+
+