From 4fde8ba47071d4600084c60e276aedbb749adf5e Mon Sep 17 00:00:00 2001 From: freeplay Date: Fri, 14 Jul 2023 00:25:01 -0400 Subject: [PATCH] fix: error in user card if no user desc --- packages/client/src/components/MkUserInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkUserInfo.vue b/packages/client/src/components/MkUserInfo.vue index 55979a229..76ae8a9cd 100644 --- a/packages/client/src/components/MkUserInfo.vue +++ b/packages/client/src/components/MkUserInfo.vue @@ -93,7 +93,7 @@ const props = defineProps<{ }>(); let isLong = $ref( - props.detailed && + props.detailed && props.user.description && (props.user.description.split("\n").length > 9 || props.user.description.length > 400), );