mirror of
https://github.com/apache/superset.git
synced 2026-04-25 19:14:27 +00:00
feat(dashboard): Native filters - add type to native filter configuration (#16549)
* iSort fixes * Add type key to the new filters * Fix wrong attribute * PR comments * PR comments * Fix failing tests
This commit is contained in:
@@ -16,8 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { DataMaskStateWithId } from 'src/dataMask/types';
|
||||
import { NativeFilterType } from 'src/dashboard/components/nativeFilters/types';
|
||||
import { NativeFiltersState } from 'src/dashboard/reducers/types';
|
||||
import { DataMaskStateWithId } from 'src/dataMask/types';
|
||||
|
||||
export const mockDataMaskInfo: DataMaskStateWithId = {
|
||||
DefaultsID: {
|
||||
@@ -66,6 +67,7 @@ export const nativeFiltersInfo: NativeFiltersState = {
|
||||
allowsMultipleValues: true,
|
||||
isRequired: false,
|
||||
},
|
||||
type: NativeFilterType.NATIVE_FILTER,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user