FIX: flag button was broken for posts

This commit is contained in:
Arpit Jalan 2015-10-26 23:14:14 +05:30
parent c3cadbb4d8
commit e1d5503053
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ const TopicRoute = Discourse.Route.extend({
showFlags(model) { showFlags(model) {
showModal('flag', { model }); showModal('flag', { model });
this.controllerFor('flag').setProperties({ selected: null }); this.controllerFor('flag').setProperties({ selected: null, flagTopic: false });
}, },
showFlagTopic(model) { showFlagTopic(model) {