mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-29 04:23:02 +00:00
fix link to post
This commit is contained in:
parent
779b5ef257
commit
c8abbcaa33
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkA v-user-preview="note.user.id" :class="$style.headerName" :to="userPage(note.user)">
|
<MkA v-user-preview="note.user.id" :class="$style.headerName" :to="userPage(note.user)">
|
||||||
<MkUserName :user="note.user"/>
|
<MkUserName :user="note.user"/>
|
||||||
</MkA>
|
</MkA>
|
||||||
|
<MkA :to="notePage(note)">
|
||||||
<MkTime :time="note.createdAt" :class="$style.headerTime" colored/>
|
<MkTime :time="note.createdAt" :class="$style.headerTime" colored/>
|
||||||
|
</MkA>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
<Mfm :class="$style.text" :text="getNoteSummary(note)" :isBlock="false" :plain="true" :nowrap="false" :isNote="true" :author="note.user"/>
|
<Mfm :class="$style.text" :text="getNoteSummary(note)" :isBlock="false" :plain="true" :nowrap="false" :isNote="true" :author="note.user"/>
|
||||||
|
@ -26,6 +28,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import { getNoteSummary } from '@/scripts/get-note-summary.js';
|
import { getNoteSummary } from '@/scripts/get-note-summary.js';
|
||||||
import { userPage } from '@/filters/user.js';
|
import { userPage } from '@/filters/user.js';
|
||||||
|
import { notePage } from '@/filters/note.js';
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
note: Misskey.entities.Note
|
note: Misskey.entities.Note
|
||||||
|
|
Loading…
Reference in a new issue