From f8eab82482a97817776f73c1611a0fc15b14f93b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 17 Aug 2022 00:07:42 -0700 Subject: [PATCH] feat: :sparkles: Replies can be clicked too --- package.json | 2 +- packages/client/src/components/note-detailed.vue | 5 ++++- packages/client/src/components/note.vue | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4a8731696..96eb24b5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "12.118.1-calc.7", + "version": "12.118.1-calc.7.1", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/note-detailed.vue b/packages/client/src/components/note-detailed.vue index e8dd44e27..63bbf5b5f 100644 --- a/packages/client/src/components/note-detailed.vue +++ b/packages/client/src/components/note-detailed.vue @@ -99,7 +99,7 @@ - +
@@ -130,6 +130,7 @@ import { pleaseLogin } from '@/scripts/please-login'; import { checkWordMute } from '@/scripts/check-word-mute'; import { userPage } from '@/filters/user'; import { notePage } from '@/filters/note'; +import { useRouter } from '@/router'; import * as os from '@/os'; import { defaultStore, noteViewInterruptors } from '@/store'; import { reactionPicker } from '@/scripts/reaction-picker'; @@ -139,6 +140,8 @@ import { i18n } from '@/i18n'; import { getNoteMenu } from '@/scripts/get-note-menu'; import { useNoteCapture } from '@/scripts/use-note-capture'; +const router = useRouter(); + const props = defineProps<{ note: misskey.entities.Note; pinned?: boolean; diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue index 192b9a29c..45f1102d6 100644 --- a/packages/client/src/components/note.vue +++ b/packages/client/src/components/note.vue @@ -9,7 +9,7 @@ :tabindex="!isDeleted ? '-1' : null" :class="{ renote: isRenote }" > - +
{{ i18n.ts.pinnedNote }}
{{ i18n.ts.promotion }}
{{ i18n.ts.featured }}