Require confirmation and block deleting library actions still referenced by node groups.
This commit is contained in:
@@ -1318,6 +1318,9 @@ function ActionsConfigTab() {
|
||||
if (action.builtin || !canDeleteActions) {
|
||||
return
|
||||
}
|
||||
if (!window.confirm(`Delete action “${action.name}”?`)) {
|
||||
return
|
||||
}
|
||||
setSubmitError(null)
|
||||
try {
|
||||
const response = await deleteAction(action.id)
|
||||
|
||||
Reference in New Issue
Block a user