Update admin PWA events, branding, and packages

This commit is contained in:
Codex Agent
2026-01-19 11:35:38 +01:00
parent 8141518cfa
commit edd17f17e3
43 changed files with 6846 additions and 6323 deletions

View File

@@ -39,7 +39,9 @@ class TenantPackageController extends Controller
$activePackage = $tenant->activeResellerPackage?->load('package');
if ($activePackage instanceof TenantPackage) {
if (! ($activePackage instanceof TenantPackage)) {
$activePackage = $packages->firstWhere('active', true);
} else {
$this->hydratePackageSnapshot($activePackage, $usageEventPackage);
}