fix duplicate command id

This commit is contained in:
John Mavrick 2023-12-20 20:09:27 -08:00
parent 765d4976ec
commit b11df1b888
1 changed files with 1 additions and 2 deletions

View File

@ -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) => {