Fine tuning

This commit is contained in:
Luis Fernando Molina committed 2019-10-17 08:32:27 +02:00
1 parent 84fd943174
commit a207651eaa
1 file changed
+1 -1
+1 -1
View File
@@ -648,7 +648,7 @@ function newProductCard () {
label = thisObject.product.displayName
if (thisObject.session !== undefined) {
const MAX_LABEL_LENGTH = 30
const MAX_LABEL_LENGTH = 20
if (thisObject.session.name.length > MAX_LABEL_LENGTH) {
label = thisObject.session.name.substring(0, MAX_LABEL_LENGTH) + '...' + ' - ' + label
} else {