mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Fixing the build
This commit is contained in:
@@ -65,7 +65,7 @@ export const fields = {
|
||||
multi: true,
|
||||
label: 'Metrics',
|
||||
validators: [v.nonEmpty],
|
||||
default: field => field.choices && field.choices.length > 0 ? [field.choices[0][0]] : null,
|
||||
default: field => field.choices && field.choices.length > 0 ? [field.choices[0][0]] : null,
|
||||
mapStateToProps: (state) => ({
|
||||
choices: (state.datasource) ? state.datasource.metrics_combo : [],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user