Fixed Query Tool/ PSQL tool tab title not getting updated on database rename. #6364

This commit is contained in:
Anil Sahoo
2023-06-29 10:34:20 +05:30
committed by GitHub
parent 0687c52fdc
commit cbeacf890d

View File

@@ -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;
}