Skip to content

Commit

Permalink
The App Explorer tree isn't refreshed after logging in to a Kind clus…
Browse files Browse the repository at this point in the history
…ter #3947

Fixes: #3947

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
  • Loading branch information
vrubezhny committed Mar 6, 2024
1 parent a984c04 commit 4ee65b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class OpenShiftExplorer implements TreeDataProvider<ExplorerItem>, Dispos
|| this.kubeContext.user !== newCtx.user
|| this.kubeContext.namespace !== newCtx.namespace)) {
this.refresh();
this.onDidChangeContextEmitter.fire(newCtx.name);
this.onDidChangeContextEmitter.fire(newCtx?.name);
}
this.kubeContext = newCtx;
this.kubeConfig = ku2;
Expand Down

0 comments on commit 4ee65b4

Please sign in to comment.