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

pull/6469/head
Anil Sahoo 2023-06-29 10:34:20 +05:30 committed by GitHub
parent 0687c52fdc
commit cbeacf890d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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