mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 07:06:07 +09:00
fix: error in user card if no user desc
This commit is contained in:
parent
cdcdc457df
commit
38b3e0f14c
@ -93,7 +93,7 @@ const props = defineProps<{
|
|||||||
}>();
|
}>();
|
||||||
|
|
||||||
let isLong = $ref(
|
let isLong = $ref(
|
||||||
props.detailed &&
|
props.detailed && props.user.description &&
|
||||||
(props.user.description.split("\n").length > 9 ||
|
(props.user.description.split("\n").length > 9 ||
|
||||||
props.user.description.length > 400),
|
props.user.description.length > 400),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user