diff --git a/ui/src/components/login-layout/index.vue b/ui/src/components/login-layout/index.vue index 382b6f616..1557e02c4 100644 --- a/ui/src/components/login-layout/index.vue +++ b/ui/src/components/login-layout/index.vue @@ -32,7 +32,7 @@ const fileURL = computed(() => { }) const loginImageStyle = computed(() => { - if (user.themeInfo.loginImage) { + if (user.themeInfo?.loginImage) { return { backgroundImage: `url(${fileURL.value})` }