Remove Explorer.databaseAccount (#717)

Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
Hardikkumar Nai
2021-05-06 03:24:50 +05:30
committed by GitHub
parent fdd12b41c4
commit 8c05ac740c
67 changed files with 1077 additions and 1046 deletions

View File

@@ -70,7 +70,7 @@ export interface IPublishNotebookRequest {
export class JunoClient {
private cachedPinnedRepos: ko.Observable<IPinnedRepo[]>;
constructor(private databaseAccount?: ko.Observable<DataModels.DatabaseAccount>) {
constructor() {
this.cachedPinnedRepos = ko.observable<IPinnedRepo[]>([]);
}
@@ -500,7 +500,7 @@ export class JunoClient {
}
private getAccount(): string {
return this.databaseAccount().name;
return userContext?.databaseAccount?.name;
}
private getSubscriptionId(): string {