mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-10 04:58:03 -05:00
Fixed an issue where Tablespace is created though an error is shown on the dialog. Fixes #6745
This commit is contained in:
committed by
Akshay Joshi
parent
02b83146be
commit
461c0abce1
@@ -1550,6 +1550,12 @@ define('pgadmin.browser.node', [
|
||||
$(pnlDependencies).removeData('node-prop');
|
||||
if (pnlDependents)
|
||||
$(pnlDependents).removeData('node-prop');
|
||||
|
||||
if(nodeData.success === 0) {
|
||||
Notify.alert(gettext('Error'),
|
||||
gettext(nodeData.errormsg)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user