Fix typo
Signed-off-by: Stefan Parviainen <pafcu@iki.fi>
This commit is contained in:
parent
bc034f3083
commit
88fd60066f
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ module.exports = React.createClass({
|
||||||
return "";
|
return "";
|
||||||
} else if (items.length === 1) {
|
} else if (items.length === 1) {
|
||||||
return items[0];
|
return items[0];
|
||||||
} else if (remaining >= 0) {
|
} else if (remaining > 0) {
|
||||||
items = items.slice(0, itemLimit);
|
items = items.slice(0, itemLimit);
|
||||||
return _t("%(items)s and %(count)s others", { items: items.join(', '), count: remaining } )
|
return _t("%(items)s and %(count)s others", { items: items.join(', '), count: remaining } )
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue