mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Typo
This commit is contained in:
parent
83b79a4e1e
commit
4cca4f2f5b
@ -6,7 +6,7 @@ export default Ember.Component.extend({
|
||||
|
||||
@computed('count', 'badge.grant_count')
|
||||
displayCount(count, grantCount) {
|
||||
const c = parseInt(count || grantCount || 0);
|
||||
const count = parseInt(count || grantCount || 0);
|
||||
if (count > 1) {
|
||||
return count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user