mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Fix 'noteOf' text in post title
This commit is contained in:
parent
97d0cfcc8c
commit
0170407833
1 changed files with 2 additions and 2 deletions
|
@ -162,12 +162,12 @@ definePageMetadata(
|
|||
computed(() =>
|
||||
note
|
||||
? {
|
||||
title: i18n.t("noteOf", { user: note.user.name }),
|
||||
title: i18n.t("noteOf", { user: note.user.name || note.user.username }),
|
||||
subtitle: new Date(note.createdAt).toLocaleString(),
|
||||
avatar: note.user,
|
||||
path: `/notes/${note.id}`,
|
||||
share: {
|
||||
title: i18n.t("noteOf", { user: note.user.name }),
|
||||
title: i18n.t("noteOf", { user: note.user.name || note.user.username }),
|
||||
text: note.text,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue