mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -05:00
Hide ToggleMoreAction for inactive cell (#3235)
* Hide ToggleMoreAction for inactive cell * Revert wrong merge * Undo bad merge * Enable markdown to hide ToggleMoreAction * Resolve PR comments * Fixed the name * Change name * Fix toggleMoreActions by passing in CellContext instead of just nb model * Fixed the warning by removing notificationService from the caller
This commit is contained in:
@@ -173,7 +173,7 @@ export class DeleteCellAction extends CellActionBase {
|
||||
|
||||
runCellAction(context: CellContext): Promise<void> {
|
||||
try {
|
||||
context.model.deleteCell(context.cell);
|
||||
context.model.deleteCell(context.cell);
|
||||
} catch (error) {
|
||||
let message = getErrorMessage(error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user