Skip to content

Commit c310f16

Browse files
authored
Fix disabled code toolbar buttons (#160)
* Remove the listened on cell disposed, which was colliding with listener on active cell changed * Add class to svg path to handle change of theme
1 parent dfbfea9 commit c310f16

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

packages/jupyter-chat/src/active-cell-manager.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,6 @@ export class ActiveCellManager implements IActiveCellManager {
265265
this._activeCell?.model.stateChanged.connect(this._cellStateChange);
266266
this._available = !!this._activeCell && this._notebookVisible;
267267
this._availabilityChanged.emit(this._available);
268-
this._activeCell?.disposed.connect(() => {
269-
this._activeCell = null;
270-
});
271268
});
272269
}
273270
};
Lines changed: 3 additions & 1 deletion
Loading
Lines changed: 8 additions & 6 deletions
Loading
Lines changed: 10 additions & 6 deletions
Loading

0 commit comments

Comments
 (0)