mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { useSelector, useDispatch } from 'react-redux';
|
||||
import { t, JsonObject } from '@superset-ui/core';
|
||||
import { t, JsonObject, VizType } from '@superset-ui/core';
|
||||
import {
|
||||
createCtasDatasource,
|
||||
addInfoToast,
|
||||
@@ -60,7 +60,7 @@ const ExploreCtasResultsButton = ({
|
||||
datasource: `${data.table_id}__table`,
|
||||
metrics: ['count'],
|
||||
groupby: [],
|
||||
viz_type: 'table',
|
||||
viz_type: VizType.Table,
|
||||
since: '100 years ago',
|
||||
all_columns: [],
|
||||
row_limit: 1000,
|
||||
|
||||
Reference in New Issue
Block a user