diff --git a/apps/client/src/features/app-settings/panel/automations-panel/AutomationForm.tsx b/apps/client/src/features/app-settings/panel/automations-panel/AutomationForm.tsx index bf5f143c5..bf4232c25 100644 --- a/apps/client/src/features/app-settings/panel/automations-panel/AutomationForm.tsx +++ b/apps/client/src/features/app-settings/panel/automations-panel/AutomationForm.tsx @@ -181,7 +181,7 @@ export default function AutomationForm(props: AutomationFormProps) {
-

Filters

+

Filters (optional)

- {fieldFilters.map((field, index) => ( -
- - + - -
-   -
- } - variant='ontime-ghosted' + + {errors.filters?.[index]?.operator?.message} + + +
+   +
+ } + variant='ontime-ghosted' + size='sm' + color='#FA5656' // $red-500 + onClick={() => removeFilter(index)} + isDisabled={false} + isLoading={false} + /> +
-
- ))} + ); + })}