Skip to content

Commit

Permalink
Fix error in console for out-of-range select value on Rules page (#3080)
Browse files Browse the repository at this point in the history
  • Loading branch information
michellemounde committed Dec 14, 2023
1 parent 8975aae commit 83e4fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/views/Rules/ListRules/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ function ListRules(props) {
className={classes.dropdown}
select
label={`Product${productChannelSeparator}Channel`}
value={productChannelFilter}
value={productChannelOptions.length ? productChannelFilter : ''}
onChange={handleFilterChange}>
<MenuItem value="all">All Rules</MenuItem>
{productChannelOptions.map(option => (
Expand Down

0 comments on commit 83e4fc5

Please sign in to comment.