Skip to content

Commit b24d438

Browse files
committed
show delete cell for IW
1 parent 0bb1efc commit b24d438

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,7 @@ export class CellTitleToolbarPart extends CellOverlayPart {
149149
const titleMenu = this._register(this.menuService.createMenu(this.toolbarId, this.contextKeyService));
150150
const deleteMenu = this._register(this.menuService.createMenu(this.deleteToolbarId, this.contextKeyService));
151151
const actions = getCellToolbarActions(titleMenu);
152-
const deleteActions = !this._notebookEditor.creationOptions.isReadOnly ? getCellToolbarActions(deleteMenu) : {
153-
primary: [],
154-
secondary: []
155-
};
152+
const deleteActions = getCellToolbarActions(deleteMenu);
156153

157154
this._model = {
158155
titleMenu,

0 commit comments

Comments
 (0)