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: remove reason param

Smaug6739ea57c661bb18
diff --git a/frontend/app/components/ModalManager.vue b/frontend/app/components/ModalManager.vue
index 48367ca6..2b86d552 100644
--- a/frontend/app/components/ModalManager.vue
+++ b/frontend/app/components/ModalManager.vue
@@ -12,7 +12,7 @@
v-bind="modal.options.props"
class="modal"
:class="modal.options.size"
- @close="(r?: string) => modalManager.close(modal, r)"
+ @close="() => modalManager.close(modal)"
/>
</div>
</div>
@@ -26,7 +26,7 @@ const modals = modalManager.modals;
const handleKeydown = (e: KeyboardEvent) => {
if (e.key === 'Escape' && modals.value.length > 0) {
- modalManager.closeLast('cancel');
+ modalManager.closeLast();
}
};