mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
perf(native-filters): avoid unnecessary reloading of charts (#14408)
* fix:fix get permission function * refactor: filter default value * refactor: update default value loading * refactor: apply defaultValues * lint: fix lint * lint: fix lint * test: fix test * refactor: use extraFormData for reload charts * test: fix tests * test: fix tests * test: fix tests
This commit is contained in:
@@ -30,7 +30,6 @@ export const mockDataMaskInfo: DataMaskStateWithId = {
|
||||
};
|
||||
|
||||
export const nativeFiltersInfo: NativeFiltersState = {
|
||||
isInitialized: true,
|
||||
filterSets: {
|
||||
'set-id': {
|
||||
id: 'DefaultsID',
|
||||
@@ -54,7 +53,11 @@ export const nativeFiltersInfo: NativeFiltersState = {
|
||||
},
|
||||
},
|
||||
],
|
||||
defaultValue: null,
|
||||
defaultDataMask: {
|
||||
filterState: {
|
||||
value: null,
|
||||
},
|
||||
},
|
||||
scope: {
|
||||
rootPath: [],
|
||||
excluded: [],
|
||||
|
||||
Reference in New Issue
Block a user