Skip to content

Commit

Permalink
fix(native-filters): always show filters without dataset (#14409)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored Apr 29, 2021
1 parent 2dc3fa3 commit 1c16261
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export const FiltersConfigForm: React.FC<FiltersConfigFormProps> = ({
data-test="default-input"
label={<StyledLabel>{t('Default Value')}</StyledLabel>}
>
{!isDataDirty && (hasFilledDataset || !hasDataset) && (
{(!hasDataset || (!isDataDirty && hasFilledDataset)) && (
<DefaultValue
setDataMask={({ filterState }) => {
setNativeFilterFieldValues(form, filterId, {
Expand Down

0 comments on commit 1c16261

Please sign in to comment.