mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-20 11:48:31 -06:00
Ensure that after deleting multiple objects from the properties panel, the browser tree should be refreshed. Fixes #7296
This commit is contained in:
parent
0747329575
commit
efa971edb4
@ -29,3 +29,4 @@ Bug fixes
|
||||
| `Issue #7260 <https://redmine.postgresql.org/issues/7260>`_ - Fixed an issue where an Empty message popup after running a query.
|
||||
| `Issue #7262 <https://redmine.postgresql.org/issues/7262>`_ - Ensure that Autocomplete should work after changing the connection.
|
||||
| `Issue #7294 <https://redmine.postgresql.org/issues/7294>`_ - Fixed an issue where the copy and paste row does not work if the first column contains no data.
|
||||
| `Issue #7296 <https://redmine.postgresql.org/issues/7296>`_ - Ensure that after deleting multiple objects from the properties panel, the browser tree should be refreshed.
|
||||
|
@ -162,12 +162,13 @@ export function CollectionNodeView({
|
||||
if (res.success == 0) {
|
||||
pgBrowser.report_error(res.errormsg, res.info);
|
||||
}
|
||||
pgAdmin.Browser.tree.refresh(selItem);
|
||||
setReload(!reload);
|
||||
})
|
||||
.catch(function (error) {
|
||||
Notify.alert(
|
||||
gettext('Error dropping %s', selectedItemData._label.toLowerCase()),
|
||||
error.response.data.errormsg
|
||||
_.isUndefined(error.response) ? error.message : error.response.data.errormsg
|
||||
);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user