From 1c3435a742dd975c2e9cb368a7bfc4b5283757b0 Mon Sep 17 00:00:00 2001 From: JWB Date: Wed, 14 Dec 2022 06:07:46 -0500 Subject: [PATCH] Admin dropdown auto shows The admin link will automatically show when viewing a page within the admin links. Mainly whenever the url has /panel/ as the first directory after the domain. We can also remove the config option for this now too but I didn't see where to find it at yet. --- resources/views/layouts/sidebar.blade.php | 35 +++++++++++------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 2dd2c9c..86a6e1e 100755 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -188,25 +188,24 @@ if($url1sb == '200' or $url2sb == '200') { @endif @if(auth()->user()->role == 'admin') -