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:
@@ -197,7 +197,7 @@ export default function CollectionNodeProperties({
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (confirm) {
|
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 {
|
} else {
|
||||||
dropNodeProperties();
|
dropNodeProperties();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user