Skip to content

Commit

Permalink
Correct merge menu entries
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Jul 7, 2021
1 parent f5970a5 commit 0ee1575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apputils/src/menufactory.ts
Expand Up @@ -152,7 +152,7 @@ export namespace MenuFactory {
const existingItem = menu?.items.find(
(i, idx) =>
i.type === entry.type &&
i.command === entry.command &&
i.command === (entry.command ?? '') &&
i.submenu?.id === entry.submenu?.id
);

Expand Down

0 comments on commit 0ee1575

Please sign in to comment.