FIX: correct computed property
This commit is contained in:
parent
cf5e0ec1c1
commit
0a6ed64ca6
|
@ -73,6 +73,6 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
||||||
let diff = Math.round((new Date() - closeDate)/(1000*60*60));
|
let diff = Math.round((new Date() - closeDate)/(1000*60*60));
|
||||||
return I18n.t('topic.auto_close_immediate', {count: diff});
|
return I18n.t('topic.auto_close_immediate', {count: diff});
|
||||||
}
|
}
|
||||||
}.property('model.details.auto_close_based_on_last_post', 'model.auto_close_time')
|
}.property('model.details.auto_close_based_on_last_post', 'model.last_posted_at')
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue