Ensure trusted action is enabled (#13174)

This commit is contained in:
Chris LaFreniere
2020-11-02 10:48:13 -08:00
committed by GitHub
parent 351516f08d
commit 7559d8463f

View File

@@ -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;
}
}