Skip to content

Commit

Permalink
Fix using incorrect componets after upgrade to filament v3
Browse files Browse the repository at this point in the history
  • Loading branch information
cklei-carly committed Oct 6, 2023
1 parent a79ddfc commit 91426d1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion resources/views/actions/group.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<x-filament::actions.group
<x-filament-actions::group
:actions="$getActions()"
:dark-mode="config('filament.dark_mode')"
:color="$getColor()"
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/modal/actions.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<x-filament-support::modal.actions
<x-filament-actions::actions
:attributes="\Filament\Support\prepare_inherited_attributes($attributes)"
:alignment="config('filament.layout.actions.modal.actions.alignment')"
:dark-mode="config('filament.dark_mode')"
>
{{ $slot }}
</x-filament-support::modal.actions>
</x-filament-actions::actions>
12 changes: 6 additions & 6 deletions resources/views/forms/tree.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
class="flex gap-2 mb-2"
wire:key="{{ $this->id }}.{{ $getStatePath() }}.{{ $field::class }}.buttons"
>
<x-forms::link
<x-filament::link
tag="button"
size="sm"
x-show="! areAllCheckboxesChecked"
Expand All @@ -69,9 +69,9 @@ class="flex gap-2 mb-2"
wire:key="{{ $this->id }}.{{ $getStatePath() }}.{{ $field::class }}.buttons.select_all"
>
{{ __('filament-tree::filament-tree.components.tree.buttons.select_all.label') }}
</x-forms::link>
</x-filament::link>

<x-forms::link
<x-filament::link
tag="button"
size="sm"
x-show="areAllCheckboxesChecked"
Expand All @@ -80,9 +80,9 @@ class="flex gap-2 mb-2"
wire:key="{{ $this->id }}.{{ $getStatePath() }}.{{ $field::class }}.buttons.deselect_all"
>
{{ __('filament-tree::filament-tree.components.tree.buttons.deselect_all.label') }}
</x-forms::link>
</x-filament::link>

<x-forms::icon-button
<x-filament::icon-button
size="sm"
icon="heroicon-o-plus"
color="secondary"
Expand All @@ -92,7 +92,7 @@ class="flex gap-2 mb-2"
wire:key="{{ $this->id }}.{{ $getStatePath() }}.{{ $field::class }}.buttons.expand_all"
/>

<x-forms::icon-button
<x-filament::icon-button
size="sm"
icon="heroicon-o-minus"
color="secondary"
Expand Down

0 comments on commit 91426d1

Please sign in to comment.