FIX: Close multi select when switching topics
This commit is contained in:
parent
83e46cc302
commit
efafdd252e
|
@ -206,6 +206,9 @@ const TopicRoute = Discourse.Route.extend({
|
|||
|
||||
this.searchService.set('searchContext', model.get('searchContext'));
|
||||
|
||||
// close the multi select when switching topics
|
||||
controller.set('multiSelect', false);
|
||||
|
||||
this.controllerFor('composer').set('topic', model);
|
||||
this.topicTrackingState.trackIncoming('all');
|
||||
controller.subscribe();
|
||||
|
|
Loading…
Reference in New Issue