mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Remove Explorer.databaseAccount (#717)
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user