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.

Add types for "noPadding" option in modal manager

Smaug6739d0487391883e
diff --git a/frontend/app/composables/ModalBus.ts b/frontend/app/composables/ModalBus.ts
index 2d05c0a9..89191cf8 100644
--- a/frontend/app/composables/ModalBus.ts
+++ b/frontend/app/composables/ModalBus.ts
@@ -28,6 +28,7 @@ export function useModal() {
interface ModalOptions {
onClose?: () => void;
size?: 'small' | 'medium' | 'large';
+ noPadding?: boolean;
props?: object;
}
@@ -37,6 +38,7 @@ export class Modal {
public options: ModalOptions = {
onClose: () => {},
size: 'medium',
+ noPadding: false,
props: {},
},
) {}