Skip to content

Commit

Permalink
fix Blade compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Mar 23, 2024
1 parent 1f4e67e commit 91e5c7c
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
@php
use Filament\Infolists\Components\IconEntry\IconEntrySize;
@endphp

<x-dynamic-component :component="$getEntryWrapperView()" :entry="$entry">
@php
use Filament\Infolists\Components\IconEntry\IconEntrySize;
$arrayState = $getState();
if ($arrayState instanceof \Illuminate\Support\Collection) {
$arrayState = $arrayState->all();
}
$arrayState = \Illuminate\Support\Arr::wrap($arrayState);
@endphp

Expand Down

0 comments on commit 91e5c7c

Please sign in to comment.