unit sould store deduped model name instead of canonical
This commit is contained in:
parent
8147733336
commit
259203c16b
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ processUnits = (data,assetCatalog) => {
|
||||||
// console.log(unitId,models)
|
// console.log(unitId,models)
|
||||||
if(models[0]?.line === 1 && models[0]?.models_per_unit.includes('-')){
|
if(models[0]?.line === 1 && models[0]?.models_per_unit.includes('-')){
|
||||||
tempItem.stats.model = {
|
tempItem.stats.model = {
|
||||||
value: 'Model§' + data.models.filter(model => model.datasheet_id === unitId && model.line === 1)[0].name
|
value: data.models.filter(model => model.datasheet_id === unitId && model.line === 1)[0].itemKey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue