Model type shown only when it differs from the asset type
This commit is contained in:
@@ -49,9 +49,10 @@
|
||||
<span class="hero-detail-label">Model</span>
|
||||
<span class="hero-detail-value">{{ printer.printer.modelname }}</span>
|
||||
</div>
|
||||
<!-- The catalog model's own type, kept separate from the printer's
|
||||
type: modeltypes spans every kind of asset. -->
|
||||
<div class="hero-detail" v-if="printer.printer?.modeltypename">
|
||||
<!-- Only when it DIFFERS from the printer's own type: the two are
|
||||
separate tables but carry the same names in practice. -->
|
||||
<div class="hero-detail"
|
||||
v-if="printer.printer?.modeltypename && printer.printer.modeltypename !== printer.printer?.printertypename">
|
||||
<span class="hero-detail-label">Model type</span>
|
||||
<span class="hero-detail-value">{{ printer.printer.modeltypename }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user