Skip to content

Commit

Permalink
fix: rename DnD types to match component names in Superset (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored and zhaoyongjie committed Nov 26, 2021
1 parent 01b7054 commit 93b0c18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const timeColumnOption = {
description: t('A reference to the [Time] configuration, taking granularity into account'),
};

export const dndGroupByControl: SharedControlConfig<'DndColumnSelectControl'> = {
type: 'DndColumnSelectControl',
export const dndGroupByControl: SharedControlConfig<'DndColumnSelect'> = {
type: 'DndColumnSelect',
label: t('Group by'),
default: [],
description: t('One or many columns to group by'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export type InternalControlType =
| 'MetricsControl'
| 'AdhocFilterControl'
| 'FilterBoxItemControl'
| 'DndColumnSelectControl'
| 'DndColumnSelect'
| 'DndFilterSelect'
| keyof SharedControlComponents; // expanded in `expandControlConfig`

Expand Down

0 comments on commit 93b0c18

Please sign in to comment.