Skip to content

Commit

Permalink
further renaming of chartControlsInventory - > getControlsForVizType
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Apr 17, 2020
1 parent 04e0291 commit a8021ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { getChartControlPanelRegistry } from '@superset-ui/chart';
import getControlsForVizType from 'src/utils/chartControlsInventory';
import getControlsForVizType from 'src/utils/getControlsForVizType';

const fakePluginControls = {
controlPanelSections: [
Expand Down Expand Up @@ -68,7 +68,7 @@ const fakePluginControls = {
],
};

describe('chartControlsInventory', () => {
describe('getControlsForVizType', () => {
beforeEach(() => {
getChartControlPanelRegistry().registerValue(
'chart_controls_inventory_fake',
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/components/AlteredSliceTag.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import PropTypes from 'prop-types';
import { Table, Tr, Td, Thead, Th } from 'reactable-arc';
import { isEqual, isEmpty } from 'lodash';
import { getChartControlPanelRegistry } from '@superset-ui/chart';
import getControlsForVizType from 'src/utils/chartControlsInventory';
import getControlsForVizType from 'src/utils/getControlsForVizType';
import { t } from '@superset-ui/translation';
import TooltipWrapper from './TooltipWrapper';
import ModalTrigger from './ModalTrigger';
Expand Down

0 comments on commit a8021ed

Please sign in to comment.