mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Update prop on confirmDelete to fix TypeError. #6513
This commit is contained in:
parent
1216f075ce
commit
1be0ff13db
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user