From 141ab4a96b62e716a6ef739c6965fcce94d8209d Mon Sep 17 00:00:00 2001 From: freeplay Date: Sun, 9 Jul 2023 00:42:49 -0400 Subject: [PATCH] fix: error if no banner --- packages/client/src/pages/user/home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue index bef90dd7d..5a8482fb8 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -27,7 +27,7 @@ :style="{ backgroundImage: `url('${user.bannerUrl}')`, '--backgroundImageStatic': defaultStore - .state.useBlurEffect + .state.useBlurEffect && user.bannerUrl ? `url('${getStaticImageUrl( user.bannerUrl, )}')`