- {{props.row.shipping_zones.filter(z => !!z.name).map(z =>
- z.name).join(', ')}}
+ {{shortLabel(props.row.shipping_zones.filter(z => !!z.name).map(z => z.name).join(', '))}}
diff --git a/static/components/stall-list/stall-list.js b/static/components/stall-list/stall-list.js
index bc3053a..e384895 100644
--- a/static/components/stall-list/stall-list.js
+++ b/static/components/stall-list/stall-list.js
@@ -251,6 +251,10 @@ async function stallList(path) {
},
customerSelectedForOrder: function (customerPubkey) {
this.$emit('customer-selected-for-order', customerPubkey)
+ },
+ shortLabel(value = ''){
+ if (value.length <= 64) return value
+ return value.substring(0, 60) + '...'
}
},
created: async function () {