diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 84d7a7a10d..67c006f83c 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -79,7 +79,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- + +
@@ -187,6 +188,7 @@ import MkNoteSimple from '@/components/MkNoteSimple.vue'; import MkReactionsViewer from '@/components/MkReactionsViewer.vue'; import MkReactionsViewerDetails from '@/components/MkReactionsViewer.details.vue'; import MkMediaList from '@/components/MkMediaList.vue'; +import EmMediaList from '@/embed/components/EmMediaList.vue'; import MkCwButton from '@/components/MkCwButton.vue'; import MkPoll from '@/components/MkPoll.vue'; import MkUsersTooltip from '@/components/MkUsersTooltip.vue'; diff --git a/packages/frontend/src/embed/components/EmMediaAudio.vue b/packages/frontend/src/embed/components/EmMediaAudio.vue deleted file mode 100644 index 4e25554aac..0000000000 --- a/packages/frontend/src/embed/components/EmMediaAudio.vue +++ /dev/null @@ -1,531 +0,0 @@ - - - - - - - diff --git a/packages/frontend/src/embed/components/EmMediaBanner.vue b/packages/frontend/src/embed/components/EmMediaBanner.vue index 0b87ffdcff..435da238a4 100644 --- a/packages/frontend/src/embed/components/EmMediaBanner.vue +++ b/packages/frontend/src/embed/components/EmMediaBanner.vue @@ -4,70 +4,52 @@ SPDX-License-Identifier: AGPL-3.0-only --> - diff --git a/packages/frontend/src/embed/components/EmMediaImage.vue b/packages/frontend/src/embed/components/EmMediaImage.vue index 9e88513998..5d79d4484a 100644 --- a/packages/frontend/src/embed/components/EmMediaImage.vue +++ b/packages/frontend/src/embed/components/EmMediaImage.vue @@ -8,14 +8,13 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -52,6 +51,7 @@ import { i18n } from '@/i18n.js'; const props = withDefaults(defineProps<{ image: Misskey.entities.DriveFile; + href?: string; raw?: boolean; cover?: boolean; }>(), { diff --git a/packages/frontend/src/embed/components/EmMediaList.vue b/packages/frontend/src/embed/components/EmMediaList.vue index 9ea55aee8d..ef20ecd23f 100644 --- a/packages/frontend/src/embed/components/EmMediaList.vue +++ b/packages/frontend/src/embed/components/EmMediaList.vue @@ -6,8 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only