1
0
Fork 1
mirror of https://example.com synced 2024-11-25 00:36:39 +09:00

Fix 'noteOf' text in post title

This commit is contained in:
Freeplay 2023-05-24 13:22:53 -04:00
parent 2ce76a7097
commit 7b86c7087d

View file

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