From 8dfbb273caf3949f044272f4ee15de99ae2d80e8 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 30 Nov 2017 13:48:00 +0800 Subject: [PATCH] Hide admin nav from mods --- .../discourse/connectors/admin-menu/wizards-nav-button.hbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/connectors/admin-menu/wizards-nav-button.hbs b/assets/javascripts/discourse/connectors/admin-menu/wizards-nav-button.hbs index 430a1b27..3807aa18 100644 --- a/assets/javascripts/discourse/connectors/admin-menu/wizards-nav-button.hbs +++ b/assets/javascripts/discourse/connectors/admin-menu/wizards-nav-button.hbs @@ -1 +1,3 @@ -{{nav-item route='adminWizards' label='admin.wizard.label'}} +{{#if currentUser.admin}} + {{nav-item route='adminWizards' label='admin.wizard.label'}} +{{/if}}