diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index 39a4ef45a..d9eb3e09d 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -141,6 +141,9 @@ SPDX-License-Identifier: AGPL-3.0-only
+
@@ -215,6 +218,7 @@ import { isEnabledUrlPreview } from '@/instance.js';
import { type Keymap } from '@/scripts/hotkey.js';
import { focusPrev, focusNext } from '@/scripts/focus.js';
import { getAppearNote } from '@/scripts/get-appear-note.js';
+import { useRouter } from '@/router/supplier.js';
const props = withDefaults(defineProps<{
note: Misskey.entities.Note;
@@ -232,12 +236,18 @@ const emit = defineEmits<{
(ev: 'removeReaction', emoji: string): void;
}>();
+const router = useRouter();
+
const inTimeline = inject('inTimeline', false);
const inChannel = inject('inChannel', null);
const currentClip = inject[ | null>('currentClip', null);
const note = ref(deepClone(props.note));
+function expandNote(id: string) {
+ router.push(`/notes/${id}`);
+}
+
// plugin
if (noteViewInterruptors.length > 0) {
onMounted(async () => {
@@ -261,6 +271,7 @@ const isRenote = Misskey.note.isPureRenote(note.value);
const rootEl = shallowRef();
const menuButton = shallowRef();
+const expandButton = shallowRef();
const renoteButton = shallowRef();
const renoteTime = shallowRef();
const reactButton = shallowRef();
]