Update prop on confirmDelete to fix TypeError. #6513
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