Improved item viewer significantly, including increment button.

This commit is contained in:
Stefan Zermatten
2020-05-30 23:36:27 +02:00
parent db652ac47f
commit 4bdc254627
14 changed files with 552 additions and 168 deletions

View File

@@ -33,7 +33,7 @@ export default {
title(){
let model = this.model;
if (!model) return;
if (model.quantity > 1){
if (model.quantity !== 1){
if (model.plural){
return `${model.quantity} ${model.plural}`;
} else if (model.name){