diff --git a/packages/client/src/pages/note.vue b/packages/client/src/pages/note.vue index 5b408bdaf..8e710de47 100644 --- a/packages/client/src/pages/note.vue +++ b/packages/client/src/pages/note.vue @@ -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, }, }