From 82b0cff92ad674b7ec35d0ca486637bf1bde7c93 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Mon, 5 Feb 2024 11:02:17 +0530 Subject: [PATCH] changed from modal to contextualbar --- enum/CommandParam.ts | 2 +- src/modals/appendContentModal.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/enum/CommandParam.ts b/enum/CommandParam.ts index fe3fbb0..d303064 100644 --- a/enum/CommandParam.ts +++ b/enum/CommandParam.ts @@ -7,7 +7,7 @@ export enum CommandParam { WORKSPACE = "workspace", WS = "ws", SHARE = "share", - VIEW = "view" + VIEW = "view", APPEND = "append" } diff --git a/src/modals/appendContentModal.ts b/src/modals/appendContentModal.ts index d6db84a..f5bc7d6 100644 --- a/src/modals/appendContentModal.ts +++ b/src/modals/appendContentModal.ts @@ -142,7 +142,7 @@ export async function appendContentModal( return { id: NotionAppendContent.VIEW_ID, - type: UIKitSurfaceType.MODAL, + type: UIKitSurfaceType.CONTEXTUAL_BAR, title: { type: TextObjectType.MRKDWN, text: NotionAppendContent.TITLE,