From 4a0b0b135a9b1b482c27c62c74278b45663a0fee Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Feb 2023 10:25:33 +0900 Subject: [PATCH] =?UTF-8?q?enhance(client):=20=E6=B7=BB=E4=BB=98=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C5=E3=81=A4=E4=BB=A5?= =?UTF-8?q?=E4=B8=8A=E3=81=82=E3=82=8B=E3=81=A8=E3=81=8D=E3=81=AF=E6=8A=98?= =?UTF-8?q?=E3=82=8A=E3=81=9F=E3=81=9F=E3=82=80=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/MkNote.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index e4729eb1f4..a37dd9bd39 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -188,7 +188,8 @@ const isMyRenote = $i && ($i.id === note.userId); const showContent = ref(false); const isLong = (appearNote.cw == null && appearNote.text != null && ( (appearNote.text.split('\n').length > 9) || - (appearNote.text.length > 500) + (appearNote.text.length > 500) || + (appearNote.files.length >= 5) )); const collapsed = ref(appearNote.cw == null && isLong); const isDeleted = ref(false);