add null check
This commit is contained in:
parent
4f05bc619b
commit
2e53be5bd8
|
@ -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(".")
|
||||
|
|
Loading…
Reference in New Issue