Update LabeledMenuItemActionItem to match new vscode behavior. (#4264)

This commit is contained in:
Cory Rivera
2019-03-01 17:37:12 -08:00
committed by GitHub
parent c1e5408492
commit db8a92f5c2
2 changed files with 6 additions and 11 deletions

View File

@@ -493,7 +493,7 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
let secondary: IAction[] = [];
let notebookBarMenu = this.menuService.createMenu(MenuId.NotebookToolbar, this.contextKeyService);
let groups = notebookBarMenu.getActions({ arg: null, shouldForwardArgs: true });
fillInActions(groups, { primary, secondary }, false, (group: string) => group === undefined);
fillInActions(groups, { primary, secondary }, false, (group: string) => group === undefined || group === '');
this.addPrimaryContributedActions(primary);
}