Fix refresh resources button and remove portal specific notebooks call (#123)

This commit is contained in:
Steve Faulkner
2020-07-31 16:45:36 -05:00
committed by GitHub
parent 14ef40029d
commit 2a53dfabb5
2 changed files with 7 additions and 2 deletions

View File

@@ -2606,7 +2606,11 @@ export default class Explorer {
private async _refreshNotebooksEnabledStateForAccount(): Promise<void> {
const authType = window.authType as AuthType;
if (authType === AuthType.EncryptedToken || authType === AuthType.ResourceToken) {
if (
authType === AuthType.EncryptedToken ||
authType === AuthType.ResourceToken ||
authType === AuthType.MasterKey
) {
this.isNotebooksEnabledForAccount(false);
return;
}