mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: For real this time :'(
This commit is contained in:
parent
4cca4f2f5b
commit
d493702a90
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ export default Ember.Component.extend({
|
|||
|
||||
@computed('count', 'badge.grant_count')
|
||||
displayCount(count, grantCount) {
|
||||
const count = parseInt(count || grantCount || 0);
|
||||
if (count > 1) {
|
||||
return count;
|
||||
const c = parseInt(count || grantCount || 0);
|
||||
if (c > 1) {
|
||||
return c;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue