mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: [object Object] when hovering over view count
This commit is contained in:
parent
3db3ee65b7
commit
5f7a33efe5
@ -13,7 +13,7 @@ registerUnbound('number', (orig, params) => {
|
|||||||
|
|
||||||
let title = I18n.toNumber(orig, { precision: 0 });
|
let title = I18n.toNumber(orig, { precision: 0 });
|
||||||
if (params.numberKey) {
|
if (params.numberKey) {
|
||||||
title = I18n.t(params.numberKey, { number: title });
|
title = I18n.t(params.numberKey, { number: title, count: parseInt(title) });
|
||||||
}
|
}
|
||||||
|
|
||||||
let classNames = 'number';
|
let classNames = 'number';
|
||||||
|
Loading…
Reference in New Issue
Block a user