diff --git a/app/assets/javascripts/discourse/controllers/group.js.es6 b/app/assets/javascripts/discourse/controllers/group.js.es6 index 6f52622fa9a..8500a9d0fac 100644 --- a/app/assets/javascripts/discourse/controllers/group.js.es6 +++ b/app/assets/javascripts/discourse/controllers/group.js.es6 @@ -22,7 +22,7 @@ export default Ember.Controller.extend({ Tab.create({ name: 'mentions' }), Tab.create({ name: 'messages', requiresMembership: true }), Tab.create({ - name: 'logs', i18nKey: 'logs.title', icon: 'shield', + name: 'logs', i18nKey: 'logs.title', requiresMembership: true, requiresGroupAdmin: true }) ], diff --git a/app/assets/javascripts/discourse/templates/group.hbs b/app/assets/javascripts/discourse/templates/group.hbs index f7188592d2b..3b20460b2c8 100644 --- a/app/assets/javascripts/discourse/templates/group.hbs +++ b/app/assets/javascripts/discourse/templates/group.hbs @@ -41,7 +41,6 @@ {{#each getTabs as |tab|}}
  • {{#link-to tab.location model title=tab.message}} - {{#if tab.icon}}{{fa-icon tab.icon}}{{/if}} {{tab.message}} {{#if tab.count}}({{tab.count}}){{/if}} {{/link-to}}