Skip to content

Commit

Permalink
capitalization matters
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Apr 2, 2020
1 parent 90573d1 commit 6b5ffe9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions superset-frontend/src/explore/controlPanels/BigNumber.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
import { t } from '@superset-ui/translation';
import React from 'react';
import { HeaderFontSize, SubheaderFontSize } from './Shared_BigNumber';
import { headerFontSize, subheaderFontSize } from './Shared_BigNumber';

export default {
controlPanelSections: [
Expand Down Expand Up @@ -85,8 +85,8 @@ export default {
expanded: true,
controlSetRows: [
['color_picker', null],
[HeaderFontSize],
[SubheaderFontSize],
[headerFontSize],
[subheaderFontSize],
],
},
{
Expand Down
4 changes: 2 additions & 2 deletions superset-frontend/src/explore/controlPanels/BigNumberTotal.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/
import { t } from '@superset-ui/translation';
import { HeaderFontSize, SubheaderFontSize } from './Shared_BigNumber';
import { headerFontSize, subheaderFontSize } from './Shared_BigNumber';

export default {
controlPanelSections: [
Expand Down Expand Up @@ -48,7 +48,7 @@ export default {
{
label: t('Chart Options'),
expanded: true,
controlSetRows: [[HeaderFontSize], [SubheaderFontSize]],
controlSetRows: [[headerFontSize], [subheaderFontSize]],
},
],
controlOverrides: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// These are control configurations that are shared ONLY within the BigNumber viz plugin repo.
import { t } from '@superset-ui/translation';

export const HeaderFontSize = {
export const headerFontSize = {
name: 'header_font_size',
config: {
type: 'SelectControl',
Expand Down Expand Up @@ -54,7 +54,7 @@ export const HeaderFontSize = {
},
};

export const SubheaderFontSize = {
export const subheaderFontSize = {
name: 'subheader_font_size',
config: {
type: 'SelectControl',
Expand Down

0 comments on commit 6b5ffe9

Please sign in to comment.