[table editor] better table header for Metrics tab

This commit is contained in:
Maxime Beauchemin 2018-08-24 18:14:59 -07:00
parent 54ae215d11
commit e964d83b45
1 changed files with 5 additions and 0 deletions

View File

@ -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>