@if(auth()->check() && theme('disable_admin_bar') != "true" && EnvEditor::getKey('ENABLE_ADMIN_BAR', $default = 'true') != "false") @php if(Auth::user()->id == $userinfo->id){ $isUser = true; } else { $isUser = false; } @endphp @if(($isUser || auth()->user()->role == 'admin') && (EnvEditor::getKey('ENABLE_ADMIN_BAR_USERS', $default = 'false') != "false" || auth()->user()->role == 'admin'))
@endif @endif