mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #14744 from ralphjsmit/rjs/fix-global-search-tenancy
fix: global search in SPA mode when switching tenants
This commit is contained in:
@@ -152,7 +152,11 @@
|
||||
@endif
|
||||
|
||||
<div
|
||||
x-persist="topbar.end"
|
||||
@if (filament()->hasTenancy())
|
||||
x-persist="topbar.end.tenant-{{ filament()->getTenant()?->getKey() }}"
|
||||
@else
|
||||
x-persist="topbar.end"
|
||||
@endif
|
||||
class="ms-auto flex items-center gap-x-4"
|
||||
>
|
||||
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::GLOBAL_SEARCH_BEFORE) }}
|
||||
|
||||
@@ -120,7 +120,6 @@ return [
|
||||
'label' => 'Filtrləri tətbiq et',
|
||||
],
|
||||
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Filtri yığışdır',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user