:class="getVclasses(filteredVariants, idx)"
)
router-link(:to="getLink(v.name)")
- h4.boxtitle.text-center {{ v.name }}
+ h4.boxtitle.text-center {{ v.display }}
p.description.text-center {{ st.tr[v.desc] }}
</template>
);
const variants = this.st.variants
.filter(v => {
- return v.name.startsWith(capitalizedPrefix);
+ return v.display.startsWith(capitalizedPrefix);
})
.map(v => {
return {
name: v.name,
- desc: v.description
+ desc: v.description,
+ display: v.display
};
})
.sort((a, b) => {
- return a.name.localeCompare(b.name);
+ return a.display.localeCompare(b.display);
});
return variants;
}