Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request apache#5725 from mistercrunch/label_verbose_name
Browse files Browse the repository at this point in the history
[table editor] better table header for Metrics tab
  • Loading branch information
betodealmeida authored Aug 28, 2018
2 parents 46a048b + e964d83 commit 4ae08c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions superset/assets/src/datasource/DatasourceEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,11 @@ export class DatasourceEditor extends React.PureComponent {
return (
<CollectionTable
tableColumns={['metric_name', 'verbose_name', 'expression']}
columnLabels={{
metric_name: t('Metric'),
verbose_name: t('Label'),
expression: t('SQL Expression'),
}}
expandFieldset={
<FormContainer>
<Fieldset>
Expand Down

0 comments on commit 4ae08c2

Please sign in to comment.