mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: show create new topic link on mobile
This commit is contained in:
@@ -169,7 +169,7 @@ export default Ember.Controller.extend({
|
||||
|
||||
@computed('expanded', 'model.grouped_search_result.can_create_topic')
|
||||
canCreateTopic(expanded, userCanCreateTopic) {
|
||||
return this.currentUser && userCanCreateTopic && !this.site.mobileView && !expanded;
|
||||
return this.currentUser && userCanCreateTopic && !expanded;
|
||||
},
|
||||
|
||||
@computed('expanded')
|
||||
|
||||
Reference in New Issue
Block a user