wip
This commit is contained in:
1 parent
2cb88a4290
commit
ff672c3371
21 files changed
+261
-73
No files matched your search
@@ -46,11 +46,11 @@ class AdminPanelProvider extends PanelProvider
|
||||
->profile()
|
||||
->default()
|
||||
->colors([
|
||||
'primary' => Color::Blue,
|
||||
'primary' => Color::Gray,
|
||||
])
|
||||
->renderHook(
|
||||
PanelsRenderHook::GLOBAL_SEARCH_BEFORE,
|
||||
fn (): string => auth()->user()->hasRole('gutachter_switch') ? Blade::render('@livewire(\'tenancy-switch\')') : false
|
||||
fn (): string => auth()->user()->hasRole('konto_switch') ? Blade::render('@livewire(\'konto-switch\')') : false
|
||||
)
|
||||
->multiFactorAuthentication([
|
||||
EmailAuthentication::make(),
|
||||
@@ -63,6 +63,7 @@ class AdminPanelProvider extends PanelProvider
|
||||
// ->font('Open Sans')
|
||||
->favicon(asset('images/favicon.svg'))
|
||||
->brandLogo(fn () => view('filament.admin.logo'))
|
||||
->brandLogoHeight('2.6rem')
|
||||
->unsavedChangesAlerts()
|
||||
->databaseTransactions()
|
||||
->discoverResources(in: app_path('Filament/Resources'), for: 'App\Filament\Resources')
|
||||
|
||||
Reference in new issue
Block a user