From de67606bb91a54acf69f671975ba4c1fd74035f0 Mon Sep 17 00:00:00 2001 From: Insert5StarName Date: Thu, 28 Sep 2023 11:46:24 +0200 Subject: [PATCH] upd: collapse files --- packages/frontend/src/components/MkSubNoteContent.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index fff0639473..14d08968d1 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only RN: ... -
+
({{ i18n.t('withNFiles', { n: note.files.length }) }})
@@ -37,6 +37,7 @@ import MkPoll from '@/components/MkPoll.vue'; import { i18n } from '@/i18n.js'; import { $i } from '@/account.js'; import { shouldCollapsed } from '@/scripts/collapsed.js'; +import { defaultStore } from '@/store.js'; import { useRouter } from '@/router.js'; const props = defineProps<{