mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-29 18:16:18 +08:00
Merge branch 'main' into next
This commit is contained in:
@@ -272,7 +272,7 @@ function ManualActionStatusProvider({ value, children }) {
|
||||
useEffect(() => {
|
||||
if (execution.status || userJob.status) {
|
||||
button.disabled = true;
|
||||
button.visible = userJob.status === value && userJob.result._ === buttonSchema.name;
|
||||
button.visible = userJob.status === value && userJob.result?._ === buttonSchema.name;
|
||||
}
|
||||
}, [execution, userJob, value, button, buttonSchema.name]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user