mirror of https://github.com/apache/superset.git
fix(native-filters): always show filters without dataset (#14409)
This commit is contained in:
parent
2dc3fa3f21
commit
1c16261651
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue