Fixes an issue with CSS when the 'skin' value in settings table is empty. (#9423)
This commit is contained in:
parent
b6006769c3
commit
3824a50e8b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue