diff --git a/web/src/screens/filters/List.tsx b/web/src/screens/filters/List.tsx index 3bc737a..ee9185f 100644 --- a/web/src/screens/filters/List.tsx +++ b/web/src/screens/filters/List.tsx @@ -639,28 +639,39 @@ function FilterListItem({ filter, values, idx }: FilterListItemProps) { ) : filter.priority} - - - Actions: {filter.actions_enabled_count}/{filter.actions_count} - - - } - > - {filter.actions_count === 0 ? ( - <> - {"No actions defined. Set up actions to enable snatching."} - - ) : filter.actions_enabled_count === 0 ? ( - <> - {"You need to enable at least one action in the filter otherwise you will not get any snatches."} - - ) : null} - + {filter.actions_count === 0 || filter.actions_enabled_count === 0 ? ( + + + Actions: {filter.actions_enabled_count}/{filter.actions_count} + + + } + > + {filter.actions_count === 0 ? ( + <> + {"No actions defined. Set up actions to enable snatching."} + + ) : filter.actions_enabled_count === 0 ? ( + <> + {"You need to enable at least one action in the filter otherwise you will not get any snatches."} + + ) : null} + + ) : ( + + + Actions: {filter.actions_enabled_count}/{filter.actions_count} + + + )}