Skip to content

Commit

Permalink
fix: update config for multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Oct 15, 2021
1 parent 7020e72 commit a388cdb
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/config/ScenarioParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ const PARAMETERS_GROUPS = {
'currency_name',
'currency_value',
'currency_used',
'start_date'
'start_date',
'example_dataset_part_1',
'example_dataset_part_2'
]
},
file_upload: {
Expand All @@ -94,6 +96,15 @@ const PARAMETERS_GROUPS = {
parameters: [
'initial_stock_dataset'
]
},
extra_dataset_part_tab: {
labels: {
en: 'Additional dataset part',
fr: 'Fragment de dataset'
},
parameters: [
'initial_stock_dataset'
]
}
};

Expand All @@ -105,9 +116,8 @@ const RUN_TEMPLATES = {
// Use 'parameterGroups' instead of 'parametersGroups' in the run templates description to be consistent
// with back-end format
parameterGroups: [
'bar_parameters',
'basic_types',
'file_upload'
'extra_dataset_part_tab'
]
}
};
Expand Down

0 comments on commit a388cdb

Please sign in to comment.