mirror of
https://github.com/apache/superset.git
synced 2026-05-10 02:15:50 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -21,6 +21,7 @@ import {
|
||||
getChartControlPanelRegistry,
|
||||
getChartMetadataRegistry,
|
||||
ChartMetadata,
|
||||
VizType,
|
||||
} from '@superset-ui/core';
|
||||
import { QUERY_MODE_REQUISITES } from 'src/explore/constants';
|
||||
import { MemoryRouter, Route } from 'react-router-dom';
|
||||
@@ -32,7 +33,7 @@ const reduxState = {
|
||||
explore: {
|
||||
controls: {
|
||||
datasource: { value: '1__table' },
|
||||
viz_type: { value: 'table' },
|
||||
viz_type: { value: VizType.Table },
|
||||
},
|
||||
datasource: {
|
||||
id: 1,
|
||||
|
||||
Reference in New Issue
Block a user