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:
Dan Harrin
2024-11-11 16:58:32 +00:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
@@ -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',
],