fix: error in user card if no user desc
This commit is contained in:
parent
f67ea7a609
commit
4fde8ba470
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue