Skip to content

Commit

Permalink
fix: letter format of sort chart in dashboard edit (apache#17003)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinghua-qa authored Oct 7, 2021
1 parent d75beb8 commit 24a797c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions superset-frontend/src/dashboard/components/SliceAdder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ const defaultProps = {

const KEYS_TO_FILTERS = ['slice_name', 'viz_type', 'datasource_name'];
const KEYS_TO_SORT = {
slice_name: 'Name',
viz_type: 'Vis type',
datasource_name: 'Dataset',
changed_on: 'Recent',
slice_name: 'name',
viz_type: 'viz type',
datasource_name: 'dataset',
changed_on: 'recent',
};

const DEFAULT_SORT_KEY = 'changed_on';
Expand Down

0 comments on commit 24a797c

Please sign in to comment.