FIX: correct computed property

This commit is contained in:
Arpit Jalan 2016-10-19 11:11:54 +05:30
parent cf5e0ec1c1
commit 0a6ed64ca6
1 changed files with 1 additions and 1 deletions

View File

@ -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')
}); });