Require confirmation and block deleting library actions still referenced by node groups.

This commit is contained in:
2026-07-20 21:00:24 +02:00
parent d188ca41b8
commit be255341e5
5 changed files with 217 additions and 0 deletions
+3
View File
@@ -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)