diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-28 20:29:37 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-28 20:29:37 +0900 |
| commit | 2fc58a780e5a1f5e40b3d8d18ae6cc1d0dfd8bc1 (patch) | |
| tree | c40e093b1fe59351ddfaa377dfd72e5ddb4802bb /packages/client/src/components/note-detailed.vue | |
| parent | feat(client): show confirm dialog when vote (diff) | |
| download | misskey-2fc58a780e5a1f5e40b3d8d18ae6cc1d0dfd8bc1.tar.gz misskey-2fc58a780e5a1f5e40b3d8d18ae6cc1d0dfd8bc1.tar.bz2 misskey-2fc58a780e5a1f5e40b3d8d18ae6cc1d0dfd8bc1.zip | |
feat(client): Renoteなノート詳細ページから元のノートページに遷移できるように
Diffstat (limited to 'packages/client/src/components/note-detailed.vue')
| -rw-r--r-- | packages/client/src/components/note-detailed.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/client/src/components/note-detailed.vue b/packages/client/src/components/note-detailed.vue index 378dd6516b..03f6a767f2 100644 --- a/packages/client/src/components/note-detailed.vue +++ b/packages/client/src/components/note-detailed.vue @@ -84,7 +84,9 @@ </div> <footer class="footer"> <div class="info"> - <MkTime class="created-at" :time="appearNote.createdAt" mode="detail"/> + <MkA class="created-at" :to="notePage(appearNote)"> + <MkTime :time="appearNote.createdAt" mode="detail"/> + </MkA> </div> <XReactionsViewer ref="reactionsViewer" :note="appearNote"/> <button class="button _button" @click="reply()"> @@ -136,6 +138,7 @@ import { url } from '@/config'; import copyToClipboard from '@/scripts/copy-to-clipboard'; import { checkWordMute } from '@/scripts/check-word-mute'; import { userPage } from '@/filters/user'; +import { notePage } from '@/filters/note'; import * as os from '@/os'; import { noteActions, noteViewInterruptors } from '@/store'; import { reactionPicker } from '@/scripts/reaction-picker'; @@ -181,6 +184,7 @@ export default defineComponent({ muted: false, translation: null, translating: false, + notePage, }; }, |