mirror of https://github.com/apache/superset.git
[table editor] better table header for Metrics tab
This commit is contained in:
parent
54ae215d11
commit
e964d83b45
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue