diff --git a/src/sql/workbench/contrib/notebook/browser/notebook.component.ts b/src/sql/workbench/contrib/notebook/browser/notebook.component.ts index c2667d61d2..c7f85a0825 100644 --- a/src/sql/workbench/contrib/notebook/browser/notebook.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/notebook.component.ts @@ -369,8 +369,8 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe } private updateToolbarComponents() { + this._trustedAction.enabled = true; if (this.model.trustedMode) { - this._trustedAction.enabled = true; this._trustedAction.trusted = true; } }