Fixed url to user-ridden style

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-04-06 20:36:13 -07:00
parent 7ddcc97e79
commit bf2479c5d9

View file

@ -30,7 +30,7 @@
{{-- stylesheets --}}
<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/skins/skin-'.Auth::user()->present()->skin.'.min.css') }}">
<link rel="stylesheet" href="{{ mix('css/dist/skins/skin-'.Auth::user()->present()->skin.'.min.css') }}">
@elseif (($snipeSettings) && ($snipeSettings->skin!=''))
<link rel="stylesheet" href="{{ url(mix('css/dist/skins/skin-'.($snipeSettings->skin!='' ? $snipeSettings->skin : 'blue').'.css')) }}">
@endif