mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Fixes an issue with CSS when the 'skin' value in settings table is empty. (#9423)
This commit is contained in:
parent
b6006769c3
commit
3824a50e8b
|
@ -31,7 +31,7 @@
|
|||
<link rel="stylesheet" href="{{ mix('css/dist/all.css') }}">
|
||||
@if (($snipeSettings) && ($snipeSettings->allow_user_skin==1) && Auth::check() && Auth::user()->present()->skin != '')
|
||||
<link rel="stylesheet" href="{{ mix('css/dist/skins/skin-'.Auth::user()->present()->skin.'.min.css') }}">
|
||||
@elseif (($snipeSettings) && ($snipeSettings->skin!=''))
|
||||
@else
|
||||
<link rel="stylesheet" href="{{ url(mix('css/dist/skins/skin-'.($snipeSettings->skin!='' ? $snipeSettings->skin : 'blue').'.css')) }}">
|
||||
@endif
|
||||
{{-- page level css --}}
|
||||
|
|
Loading…
Reference in a new issue