+
-
+
{{ item.raw.detail }}
@@ -70,7 +82,6 @@
-
@@ -160,13 +171,13 @@ function markReaded(id: string) {
});
}
-function markAllReaded(){
+function markAllReaded() {
messageService.markAllRead().then((value) => {
messages.value = value;
- })
+ });
}
onBeforeUnmount(() => {
clearInterval(interval);
});
-
\ No newline at end of file
+
diff --git a/nextcloud_backup/frontend/env.d.ts b/nextcloud_backup/frontend/src/env.d.ts
similarity index 100%
rename from nextcloud_backup/frontend/env.d.ts
rename to nextcloud_backup/frontend/src/env.d.ts
diff --git a/nextcloud_backup/frontend/src/store/alert.ts b/nextcloud_backup/frontend/src/store/alert.ts
index fb62eec..633a66d 100644
--- a/nextcloud_backup/frontend/src/store/alert.ts
+++ b/nextcloud_backup/frontend/src/store/alert.ts
@@ -14,7 +14,7 @@ export const useAlertStore = defineStore("alert", () => {
const alert: Alert = {
id: uuidv4(),
timeOut: ref(timeOutValue.value),
- interval: setInterval(() => {
+ interval: window.setInterval(() => {
timeout(alert);
}, 50),
type: type,