Skip to content

Commit

Permalink
[table editor] better table header for Metrics tab
Browse files Browse the repository at this point in the history
(cherry picked from commit e964d83)
  • Loading branch information
mistercrunch committed Oct 29, 2018
1 parent 95b2e55 commit 60e8775
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 60e8775

Please sign in to comment.