mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(plugin-workflow): fix sync option display incorrectly (#6595)
This commit is contained in:
parent
9db2c533e3
commit
4ef6b9037d
@ -61,11 +61,10 @@ function SyncOptionSelect(props) {
|
||||
if (trigger.sync != null) {
|
||||
field.setValue(trigger.sync);
|
||||
} else {
|
||||
field.setInitialValue(false);
|
||||
field.setInitialValue(props.value ?? false);
|
||||
}
|
||||
}
|
||||
}, [record.id, field, workflowPlugin.triggers]);
|
||||
|
||||
}, [record.id, field, workflowPlugin.triggers, record.type, props.value]);
|
||||
return <RadioWithTooltip {...props} />;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user