Skip to content

Commit 1dd2695

Browse files
Muzaffer AydinMuzaffer Aydin
authored andcommitted
fix(docdb): Update dbInstanceNode on UI when status changed
1 parent 5b8a309 commit 1dd2695

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

packages/core/src/docdb/explorer/dbClusterNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export class DBClusterNode extends DBResourceNode {
170170
}
171171

172172
override refreshTree(): void {
173+
getLogger().info(`(DBClusterNode) Refreshing tree for instance: ${this.arn}`)
173174
this.refresh()
174175
this.parent.refresh()
175176
}

packages/core/src/docdb/explorer/dbElasticClusterNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export class DBElasticClusterNode extends DBResourceNode {
101101
}
102102

103103
override refreshTree(): void {
104+
getLogger().info(`(DBElasticClusterNode) Refreshing tree for instance: ${this.arn}`)
104105
this.refresh()
105106
this.parent.refresh()
106107
}

packages/core/src/docdb/explorer/dbGlobalClusterNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export class DBGlobalClusterNode extends DBResourceNode {
151151
}
152152

153153
override refreshTree(): void {
154+
getLogger().info(`(DBGlobalClusterNode) Refreshing tree for instance: ${this.arn}`)
154155
this.refresh()
155156
this.parent.refresh()
156157
}

packages/core/src/docdb/explorer/dbInstanceNode.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ export class DBInstanceNode extends DBResourceNode {
103103
}
104104

105105
override refreshTree(): void {
106+
getLogger().info(`(DBInstanceNode) Refreshing tree for instance: ${this.arn}`)
106107
this.refresh()
107-
this.parent.refresh()
108+
this.parent.refreshTree()
108109
}
109110

110111
override clearTimer(): void {

0 commit comments

Comments
 (0)