Update prop on confirmDelete to fix TypeError. #6513

pull/8374/head
Rohit Bhati 2025-01-17 14:53:51 +05:30 committed by GitHub
parent 1216f075ce
commit 1be0ff13db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}