fix(ui): provide default branding for central admin
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 40s

This commit is contained in:
2026-01-28 14:01:08 +08:00
parent c3af92c85c
commit 965418077b

View File

@@ -65,7 +65,12 @@ class HandleInertiaRequests extends Middleware
'branding' => function () {
$tenant = tenancy()->tenant;
if (!$tenant) {
return null;
// 中央後台預設 Branding
return [
'logo_url' => \Storage::url('defaults/logo.png'), // 中央後台也使用預設 Logo
'primary_color' => '#4F46E5',
'text_color' => '#1a1a1a',
];
}
$logoUrl = null;