mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Renaming field to control (#2210)
This commit is contained in:
committed by
GitHub
parent
d5ba88b407
commit
1e47d6fb41
@@ -3,7 +3,7 @@ import { expect } from 'chai';
|
||||
import { describe, it, beforeEach } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
import { Panel } from 'react-bootstrap';
|
||||
import { getFormDataFromFields, defaultFields }
|
||||
import { getFormDataFromControls, defaultControls }
|
||||
from '../../../../javascripts/explorev2/stores/store';
|
||||
import {
|
||||
ControlPanelsContainer,
|
||||
@@ -12,8 +12,8 @@ import {
|
||||
const defaultProps = {
|
||||
datasource_type: 'table',
|
||||
actions: {},
|
||||
fields: defaultFields,
|
||||
form_data: getFormDataFromFields(defaultFields),
|
||||
controls: defaultControls,
|
||||
form_data: getFormDataFromControls(defaultControls),
|
||||
isDatasourceMetaLoading: false,
|
||||
exploreState: {},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user