Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix multiple saves transition error and freeze

Smaug6739bd24be0fbfb4
diff --git a/frontend/components/Notification.vue b/frontend/components/Notification.vue
index 4e79a03a..40858779 100644
--- a/frontend/components/Notification.vue
+++ b/frontend/components/Notification.vue
@@ -15,7 +15,7 @@
<script setup lang="ts">
import { useNotifications } from '~/stores';
-const notifications = computed(() => useNotifications().getAll.reverse());
+const notifications = computed(() => [...useNotifications().getAll].reverse()); // Create a copy before reversing
const close = (id: number) => useNotifications().remove(id);
</script>
<style scoped lang="scss">