Skip to content

Commit 8ccde12

Browse files
committed
Refine SPA mode check in select-tree view.
Updated the `FilamentView::hasSpaMode` method to include the current URL as a parameter. This ensures the SPA mode condition is evaluated more precisely based on the current context.
1 parent fd2266f commit 8ccde12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/select-tree.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
wire:key="{{ $getTreeKey() }}"
1616
wire:ignore
1717
x-ignore
18-
@if (FilamentView::hasSpaMode())
18+
@if (FilamentView::hasSpaMode(url()->current()))
1919
ax-load="visible"
2020
@else
2121
ax-load

0 commit comments

Comments
 (0)