Change version + replace supported with icons

This commit is contained in:
Chris 2018-11-06 09:48:03 +00:00
parent c56043e1f9
commit 44621a1a61
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ return [
*/
'name' => env('APP_NAME', 'Heimdall'),
'version' => '2.1.6',
'version' => '2.1.7',
/*
|--------------------------------------------------------------------------

View file

@ -1,7 +1,7 @@
<section class="item-container{{ $app->droppable }}" data-id="{{ $app->id }}">
<div class="item" style="background-color: {{ $app->colour }}">
@if($app->icon)
<img class="app-icon" src="{{ asset('/storage/'.$app->icon) }}" />
<img class="app-icon" src="{{ asset('/storage/'.str_replace('supportedapps', 'icons', $app->icon)) }}" />
@else
<img class="app-icon" src="{{ asset('/img/heimdall-icon-small.png') }}" />
@endif