Filter batch fixes (#13486)
- handle multiselect and select Before <img width="200" height="200" alt="Capture d’écran 2025-07-29 à 13 47 36" src="https://github.com/user-attachments/assets/02fd2085-f2a5-405e-adb4-a53457b43d95" /> After <img width="200" height="200" alt="Capture d’écran 2025-07-29 à 13 44 09" src="https://github.com/user-attachments/assets/b85dde54-0284-4f4f-b19d-b86516afdf81" /> - Fix node display in run Before <img width="200" height="200" alt="Capture d’écran 2025-07-29 à 13 47 13" src="https://github.com/user-attachments/assets/c32dedaf-0c37-4300-9693-27a790a4d727" /> After <img width="200" height="200" alt="Capture d’écran 2025-07-29 à 13 44 58" src="https://github.com/user-attachments/assets/ab4449d0-933d-49f4-8572-75e484401c2c" /> - Remove assert to fix discard draft - handle label for readonly
This commit is contained in:
+9
-2
@@ -11,6 +11,7 @@ import { WorkflowEditActionCreateRecord } from '@/workflow/workflow-steps/workfl
|
||||
import { WorkflowEditActionDeleteRecord } from '@/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionDeleteRecord';
|
||||
import { WorkflowEditActionSendEmail } from '@/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionSendEmail';
|
||||
import { WorkflowEditActionUpdateRecord } from '@/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpdateRecord';
|
||||
import { WorkflowEditActionFilter } from '@/workflow/workflow-steps/workflow-actions/filter-action/components/WorkflowEditActionFilter';
|
||||
import { WorkflowEditActionFindRecords } from '@/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowEditActionFindRecords';
|
||||
import { WorkflowEditActionFormFiller } from '@/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFiller';
|
||||
import { WorkflowEditActionHttpRequest } from '@/workflow/workflow-steps/workflow-actions/http-request-action/components/WorkflowEditActionHttpRequest';
|
||||
@@ -204,8 +205,14 @@ export const WorkflowRunStepNodeDetail = ({
|
||||
);
|
||||
}
|
||||
case 'FILTER': {
|
||||
throw new Error(
|
||||
"The Filter action isn't meant to be displayed as a node.",
|
||||
return (
|
||||
<WorkflowEditActionFilter
|
||||
key={stepId}
|
||||
action={stepDefinition.definition}
|
||||
actionOptions={{
|
||||
readonly: true,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user