Fixed Query Tool/ PSQL tool tab title not getting updated on database rename. #6364
parent
0687c52fdc
commit
cbeacf890d
|
|
@ -35,6 +35,7 @@ export class ManageTreeNodes {
|
|||
public updateNode = (_path, _data) => new Promise((res) => {
|
||||
const item = this.findNode(_path);
|
||||
if (item) {
|
||||
item.data = {...item.data, ..._data};
|
||||
item.name = _data.label;
|
||||
item.metadata.data = _data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue