fix(plugin-workflow): fix revision with new properties (#3487)
This commit is contained in:
parent
f1a3c17522
commit
dcd732db89
@ -81,7 +81,7 @@ export default class extends Trigger {
|
|||||||
let payload = row;
|
let payload = row;
|
||||||
if (trigger[1]) {
|
if (trigger[1]) {
|
||||||
const paths = trigger[1].split('.');
|
const paths = trigger[1].split('.');
|
||||||
for await (const field of paths) {
|
for (const field of paths) {
|
||||||
if (payload.get(field)) {
|
if (payload.get(field)) {
|
||||||
payload = payload.get(field);
|
payload = payload.get(field);
|
||||||
} else {
|
} else {
|
||||||
|
@ -73,7 +73,9 @@ export async function revision(context: Context, next) {
|
|||||||
? {
|
? {
|
||||||
key: filter.key,
|
key: filter.key,
|
||||||
title: origin.title,
|
title: origin.title,
|
||||||
|
triggerTitle: origin.triggerTitle,
|
||||||
allExecuted: origin.allExecuted,
|
allExecuted: origin.allExecuted,
|
||||||
|
sync: origin.sync,
|
||||||
}
|
}
|
||||||
: values;
|
: values;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user