mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-24 05:21:02 -08:00
feat: OpenCommandPalette context menu
This commit is contained in:
parent
d727d740f6
commit
f644ff0745
1 changed files with 9 additions and 0 deletions
|
|
@ -363,6 +363,15 @@ export class MenuService implements IMenuService {
|
|||
workspace: this.workspaceService,
|
||||
workspaceView: this.workspaceViewService,
|
||||
};
|
||||
menu.append(
|
||||
new MenuItem({
|
||||
label: i18next.t('ContextMenu.OpenCommandPalette'),
|
||||
enabled: workspaces.length > 0,
|
||||
click: () => {
|
||||
void this.wikiService.requestWikiSendActionMessage('open-command-palette');
|
||||
},
|
||||
}),
|
||||
);
|
||||
menu.append(
|
||||
new MenuItem({
|
||||
label: i18next.t('Menu.Workspaces'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue