From 57c237c72d613700ee595a000baffc68f774e05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Turbelin?= Date: Mon, 25 Nov 2024 23:59:00 +0100 Subject: [PATCH] Move admin_only tab upper --- app/helpers/admin/enterprises_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/admin/enterprises_helper.rb b/app/helpers/admin/enterprises_helper.rb index 61bab28edc..db7d78d5d5 100644 --- a/app/helpers/admin/enterprises_helper.rb +++ b/app/helpers/admin/enterprises_helper.rb @@ -56,6 +56,7 @@ module Admin ) [ { name: 'primary_details', icon_class: "icon-home", show: true, selected: 'selected' }, + { name: 'admin_only', icon_class: "icon-gear", show: spree_current_user.admin? }, { name: 'address', icon_class: "icon-map-marker", show: true }, { name: 'contact', icon_class: "icon-phone", show: true }, { name: 'social', icon_class: "icon-twitter", show: true }, @@ -75,7 +76,6 @@ module Admin { name: 'white_label', icon_class: "icon-leaf", show: true }, { name: 'users', icon_class: "icon-user", show: true }, { name: 'connected_apps', icon_class: "icon-puzzle-piece", show: show_connected_apps }, - { name: 'admin_only', icon_class: "icon-gear", show: spree_current_user.admin? }, ] end end