Skip to content

Commit

Permalink
Set exclude to false when footer is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Oct 25, 2022
1 parent fe520ed commit f1c69e7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const OptionsListEditorOptions = ({
onChange={() => {
onChange({ hideExclude: !state.hideExclude });
setState((s) => ({ ...s, hideExclude: !s.hideExclude }));
if (initialInput?.exclude) onChange({ exclude: false });
}}
/>
</EuiFormRow>
Expand Down

0 comments on commit f1c69e7

Please sign in to comment.