mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Merge pull request #5725 from mistercrunch/label_verbose_name
[table editor] better table header for Metrics tab
This commit is contained in:
commit
4ae08c2c64
@ -433,6 +433,11 @@ export class DatasourceEditor extends React.PureComponent {
|
|||||||
return (
|
return (
|
||||||
<CollectionTable
|
<CollectionTable
|
||||||
tableColumns={['metric_name', 'verbose_name', 'expression']}
|
tableColumns={['metric_name', 'verbose_name', 'expression']}
|
||||||
|
columnLabels={{
|
||||||
|
metric_name: t('Metric'),
|
||||||
|
verbose_name: t('Label'),
|
||||||
|
expression: t('SQL Expression'),
|
||||||
|
}}
|
||||||
expandFieldset={
|
expandFieldset={
|
||||||
<FormContainer>
|
<FormContainer>
|
||||||
<Fieldset>
|
<Fieldset>
|
||||||
|
Loading…
Reference in New Issue
Block a user