FIX: Broekn translation on `topic-status-info` component.

This commit is contained in:
Guo Xiang Tan 2017-04-03 10:31:40 +08:00
parent 5cf75c67df
commit 9ab5f17610
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export default Ember.Component.extend(bufferedRender({
],
buildBuffer(buffer) {
if (!this.get('topic.topic_status_update')) return;
if (!this.get('topic.topic_status_update.execute_at')) return;
let statusUpdateAt = moment(this.get('topic.topic_status_update.execute_at'));
if (statusUpdateAt < new Date()) return;