mirror of https://github.com/apache/superset.git
fix(native-filters): apply default value correctly when it's set (#17982)
This commit is contained in:
parent
79644651da
commit
35f4c33245
|
@ -61,7 +61,7 @@ export function getInitialDataMask(
|
|||
} as DataMaskWithId;
|
||||
}
|
||||
|
||||
async function fillNativeFilters(
|
||||
function fillNativeFilters(
|
||||
filterConfig: FilterConfiguration,
|
||||
mergedDataMask: DataMaskStateWithId,
|
||||
draftDataMask: DataMaskStateWithId,
|
||||
|
@ -139,8 +139,6 @@ const dataMaskReducer = produce(
|
|||
action.filterConfig ?? [],
|
||||
cleanState,
|
||||
draft,
|
||||
// @ts-ignore
|
||||
action.data.dataMask,
|
||||
action.filters,
|
||||
);
|
||||
return cleanState;
|
||||
|
|
Loading…
Reference in New Issue