Allow renaming row actions
This commit is contained in:
parent
015854f1a2
commit
dab38265db
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue