fix: Use null-safe operator for brand logo and favicon paths.
This commit is contained in:
parent
3285fa196c
commit
bb7208d34f
@ -107,7 +107,7 @@ public function panel(Panel $panel): Panel
|
|||||||
])
|
])
|
||||||
->databaseNotifications()
|
->databaseNotifications()
|
||||||
->databaseNotificationsPolling('30s')
|
->databaseNotificationsPolling('30s')
|
||||||
->brandLogo(fn () => Storage::url($generalSettings->site_logo))
|
->brandLogo(fn () => Storage::url($generalSettings?->site_logo))
|
||||||
->favicon(fn () => Storage::url($generalSettings->site_icon));
|
->favicon(fn () => Storage::url($generalSettings?->site_icon));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user