mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:48:45 +08:00
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));
|
||||
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
Block a user