removes an un-necessary comma when ellipsing notifications

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
feature/noid/sql-rewrite-0929
Cyrille Bollu 2019-09-09 16:06:37 +02:00
rodzic 30930e7a89
commit fb789ead94
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -74,6 +74,7 @@ export default {
if (this.item.details[key].length > 3 && stringKey === 3) {
// ellipses the actors' list to 3 actors when it's big
concatination = concatination.substring(0, concatination.length - 2)
concatination += 'and ' + (this.item.details[key].length - 3).toString() + ' other(s), '
break
} else {