mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed Query Tool/ PSQL tool tab title not getting updated on database rename. #6364
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user