From 7559d8463fb6c2e8031b26f996666852f133cdb2 Mon Sep 17 00:00:00 2001 From: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com> Date: Mon, 2 Nov 2020 10:48:13 -0800 Subject: [PATCH] Ensure trusted action is enabled (#13174) --- .../workbench/contrib/notebook/browser/notebook.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }