Allow renaming row actions

This commit is contained in:
Adria Navarro 2024-10-23 12:54:32 +02:00
parent 015854f1a2
commit dab38265db
1 changed files with 0 additions and 8 deletions

View File

@ -1,4 +1,3 @@
import { sdk } from "@budibase/shared-core"
import {
Automation,
RequiredKeys,
@ -295,13 +294,6 @@ function guardInvalidUpdatesAndThrow(
}
})
}
if (
sdk.automations.isRowAction(automation) &&
automation.name !== oldAutomation.name
) {
throw new Error("Row actions cannot be renamed")
}
}
function trimUnexpectedObjectFields<T extends Automation>(automation: T): T {