π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
fix: redirect on team delete
Smaug673901e992d77fd9
diff --git a/frontend/app/pages/dashboard/teams/[id]/index.vue b/frontend/app/pages/dashboard/teams/[id]/index.vueindex 5cb87397..63eb09d5 100644--- a/frontend/app/pages/dashboard/teams/[id]/index.vue+++ b/frontend/app/pages/dashboard/teams/[id]/index.vue@@ -85,7 +85,7 @@ const directChildren = computed(() => (team.value ? nodesStore.nodes.getChildrenconst openCreateWorkspace = () => modals.add(new Modal(shallowRef(CreateCategoryModal), { props: { role: 1, parentId: teamId } }));const openCreateCategory = () => modals.add(new Modal(shallowRef(CreateCategoryModal), { props: { role: 2, parentId: teamId } }));-const openDelete = () => team.value && modals.add(new Modal(shallowRef(NodeDeleteModal), { props: { node: team.value, redirect: '/dashboard/teams' } }));+const openDelete = () => team.value && modals.add(new Modal(shallowRef(NodeDeleteModal), { props: { node: team.value, redirectTo: '/dashboard/teams' } }));</script><style scoped lang="scss">