feat(client): Renoteなノート詳細ページから元のノートページに遷移できるように

This commit is contained in:
syuilo
2021-11-28 20:29:37 +09:00
parent 561b0fc10e
commit 2fc58a780e
8 changed files with 12 additions and 7 deletions

View File

@@ -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,
};
},