Skip to content

Commit

Permalink
Merge pull request #144 from pboivin/fix/use-fqcn-in-views
Browse files Browse the repository at this point in the history
fix: Use FQCN for Arr in Blade views
  • Loading branch information
pboivin authored Jan 3, 2025
2 parents c9e0664 + 961194e commit 4402e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/livewire/builder-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class="filament-peek-panel filament-peek-editor"
<x-filament::button
color="gray"
icon="heroicon-o-arrow-path"
class="{{ Arr::toCssClasses([
class="{{ \Illuminate\Support\Arr::toCssClasses([
'filament-peek-editor-refresh',
'filament-peek-editor-icon',
'is-icon-active' => $this->shouldAutoRefresh(),
Expand Down
4 changes: 2 additions & 2 deletions resources/views/preview-modal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class="filament-peek-modal-title"
>
<x-filament::icon
:icon="$presetConfig['icon'] ?? 'heroicon-o-computer-desktop'"
:class="Arr::toCssClasses(['rotate-90' => $presetConfig['rotateIcon'] ?? false])"
:class="\Illuminate\Support\Arr::toCssClasses(['rotate-90' => $presetConfig['rotateIcon'] ?? false])"
/>
</button>
@endforeach
Expand All @@ -74,7 +74,7 @@ class="filament-peek-rotate-preset"

<div
x-ref="previewModalBody"
class="{{ Arr::toCssClasses([
class="{{ \Illuminate\Support\Arr::toCssClasses([
'filament-peek-panel-body' => true,
'allow-iframe-overflow' => config('filament-peek.allowIframeOverflow', false),
]) }}"
Expand Down

0 comments on commit 4402e37

Please sign in to comment.