diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index a0277d86e..bd965f4a3 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -13,7 +13,7 @@

- +
diff --git a/packages/client/src/components/MkSubNoteContent.vue b/packages/client/src/components/MkSubNoteContent.vue index 2139cffb2..daded56d2 100644 --- a/packages/client/src/components/MkSubNoteContent.vue +++ b/packages/client/src/components/MkSubNoteContent.vue @@ -5,7 +5,12 @@ {{ i18n.ts.quoteAttached }}: ... - +
@@ -27,6 +32,7 @@ import { } from 'vue'; import * as misskey from 'calckey-js'; import * as mfm from 'mfm-js'; +import XNoteSimple from '@/components/MkNoteSimple.vue'; import XMediaList from '@/components/MkMediaList.vue'; import XPoll from '@/components/MkPoll.vue'; import MkUrlPreview from '@/components/MkUrlPreview.vue'; @@ -35,9 +41,9 @@ import { i18n } from '@/i18n'; const props = defineProps<{ note: misskey.entities.Note; + detailed?: boolean; }>(); - const isLong = ( props.note.cw == null && props.note.text != null && ( (props.note.text.split('\n').length > 9) || @@ -46,7 +52,6 @@ const isLong = ( ); const collapsed = $ref(props.note.cw == null && isLong); const urls = props.note.text ? extractUrlFromMfm(mfm.parse(props.note.text)) : null; -console.log(props.note.text);