Commit 96458feb authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Changed some labels in the metainfo browser.

parent acaeaec7
......@@ -114,7 +114,7 @@ class DefinitionCardUnstyled extends React.Component {
{renderName(this.props.definition)}
</Typography>
<Typography className={classes.type} color="textSecondary">
{definition.mType}
{definition.mType === 'value' ? 'quantity' : definition.mType}
</Typography>
</CardCompartment>
<CardCompartment label="description" compId="description" padded foldable folded>
......
......@@ -138,7 +138,7 @@ class SectionCardUnstyled extends React.Component {
}
{section.features.find(schema.isProperty)
? <AfterRenderMeasure measureId={`properties.${section.name}`}>
<CardCompartment label={'features'} foldable compId="features">
<CardCompartment label={'quantities'} foldable compId="features">
<div className={classes.categories}>
<CheckChip label={`ALL (${section.features.filter(schema.isProperty).length})`} checked={this.allCategoriesSelected()}
onChange={(value) => this.onToggleAllCategories(value)}/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment