fix issue where readable binding wasn't working correctly with named steps

This commit is contained in:
Peter Clement 2024-01-22 09:40:56 +00:00
parent edb6d95edd
commit 3ab791710c
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@
}
if (
(idx === 0 && automation.trigger?.event === "row:update") ||
idx === 0 &&
automation.trigger?.event === "row:update" &&
automation.trigger?.event === "row:save"
) {
if (name !== "id" && name !== "revision") return `trigger.row.${name}`