From b11df1b8885364c35ca877e59cde0de9b5ecefaa Mon Sep 17 00:00:00 2001 From: John Mavrick Date: Wed, 20 Dec 2023 20:09:27 -0800 Subject: [PATCH] fix duplicate command id --- src/ui/components/AssistantManager.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ui/components/AssistantManager.tsx b/src/ui/components/AssistantManager.tsx index b996759..5fbf1df 100644 --- a/src/ui/components/AssistantManager.tsx +++ b/src/ui/components/AssistantManager.tsx @@ -87,14 +87,13 @@ const AssistantManager = ({ })), }); } - // This command will only show up in Command Palette when the check function returns true return true; } }, }); plugin.addCommand({ - id: 'create-assistant-from-active-note', + id: 'create-thread', name: 'Create Thread', callback: async () => { const isViewOpen = app.workspace.getLeavesOfType(INTELLIGENCE_VIEW_TYPE).some((leaf) => {