Skip to content

A free open source IT asset/license management system

Fixed wrong reference in fallback

snipefeb3bd58cfcb
diff --git a/resources/views/blade/info-panel/index.blade.php b/resources/views/blade/info-panel/index.blade.php
index cfb0e3edc2..06a38bb7f7 100644
--- a/resources/views/blade/info-panel/index.blade.php
+++ b/resources/views/blade/info-panel/index.blade.php
@@ -234,7 +234,7 @@
</x-info-element>
</x-info-element>
@else
- <x-info-element icon_type="company" icon_color="{{ $infoPanelObj->company->tag_color }}" title="{{ trans('general.company') }}">
+ <x-info-element icon_type="company" icon_color="{{ $infoPanelObj->companies->first()->tag_color }}" title="{{ trans('general.company') }}">
<x-copy-to-clipboard class="pull-right" copy_what="company">
{!! $infoPanelObj->companies->first()->present()->nameUrl !!}
</x-copy-to-clipboard>