mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-31 08:34:01 -05:00
Update prop on confirmDelete to fix TypeError. #6513
This commit is contained in:
1 parent
1216f075ce
commit
1be0ff13db
1 file changed
+1
-1
@@ -197,7 +197,7 @@ export default function CollectionNodeProperties({
|
||||
};
|
||||
|
||||
if (confirm) {
|
||||
pgAdmin.Browser.notifier.confirmDelete(title, msg, dropNodeProperties, null, gettext('Delete'), gettext('Cancel'));
|
||||
pgAdmin.Browser.notifier.confirmDelete(title, msg, dropNodeProperties, () => {}, gettext('Delete'), gettext('Cancel'));
|
||||
} else {
|
||||
dropNodeProperties();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user