We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb1efc commit b24d438Copy full SHA for b24d438
src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.ts
@@ -149,10 +149,7 @@ export class CellTitleToolbarPart extends CellOverlayPart {
149
const titleMenu = this._register(this.menuService.createMenu(this.toolbarId, this.contextKeyService));
150
const deleteMenu = this._register(this.menuService.createMenu(this.deleteToolbarId, this.contextKeyService));
151
const actions = getCellToolbarActions(titleMenu);
152
- const deleteActions = !this._notebookEditor.creationOptions.isReadOnly ? getCellToolbarActions(deleteMenu) : {
153
- primary: [],
154
- secondary: []
155
- };
+ const deleteActions = getCellToolbarActions(deleteMenu);
156
157
this._model = {
158
titleMenu,
0 commit comments