mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
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"
|
data-test="default-input"
|
||||||
label={<StyledLabel>{t('Default Value')}</StyledLabel>}
|
label={<StyledLabel>{t('Default Value')}</StyledLabel>}
|
||||||
>
|
>
|
||||||
{!isDataDirty && (hasFilledDataset || !hasDataset) && (
|
{(!hasDataset || (!isDataDirty && hasFilledDataset)) && (
|
||||||
<DefaultValue
|
<DefaultValue
|
||||||
setDataMask={({ filterState }) => {
|
setDataMask={({ filterState }) => {
|
||||||
setNativeFilterFieldValues(form, filterId, {
|
setNativeFilterFieldValues(form, filterId, {
|
||||||
|
Loading…
Reference in New Issue
Block a user