add null check

This commit is contained in:
Peter Clement 2024-02-21 16:13:43 +00:00
parent 4f05bc619b
commit 2e53be5bd8
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
$redirect("../")
}
if ($admin.cloud && $admin?.checklist?.branding) {
if ($admin?.cloud && $admin?.checklist?.branding) {
let url = new URL(window.location.href)
let hostname = url.hostname
let parts = hostname.split(".")