sforkowany z mirror/social
removes an un-necessary comma when ellipsing notifications
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>feature/noid/sql-rewrite-0929
rodzic
30930e7a89
commit
fb789ead94
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue