🚧 Progress on workbench
This commit is contained in:
parent
1a8fe110f8
commit
158c19ae1d
101 changed files with 1222 additions and 200 deletions
|
@ -61,8 +61,10 @@ const DraftSettings = props => {
|
|||
childProps.dflt = "dflt";
|
||||
childProps.customDflt = [];
|
||||
childProps.parts = {};
|
||||
for (let part of props.config.parts) // HERE
|
||||
childProps.parts[part] = <FormattedMessage id={"parts." + part} />;
|
||||
if (props.config.parts) {
|
||||
for (let part of props.config.parts) // HERE
|
||||
childProps.parts[part] = <FormattedMessage id={"parts." + part} />;
|
||||
}
|
||||
}
|
||||
|
||||
return childProps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue