From 31e0e07d92879c1276d46a34a7a6966f1e184157 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 1 Oct 2023 04:03:00 +0200 Subject: [PATCH 1/3] upd: use appearNote instead of props.note --- packages/frontend/src/components/MkNote.vue | 2 +- packages/frontend/src/components/MkNoteDetailed.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index d7a6b241b..473d0204f 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -373,7 +373,7 @@ function like(): void { pleaseLogin(); showMovedDialog(); os.api('notes/reactions/create', { - noteId: props.note.id, + noteId: apperNote.id, reaction: '❤️', }); const el = likeButton.value as HTMLElement | null | undefined; diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 1bd2cef80..8e1f69a0c 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -440,7 +440,7 @@ function like(): void { pleaseLogin(); showMovedDialog(); os.api('notes/reactions/create', { - noteId: props.note.id, + noteId: appearNote.id, reaction: '❤️', }); const el = likeButton.value as HTMLElement | null | undefined; From 54591819011d138796ab7e3e7103237be627cb5b Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 1 Oct 2023 04:04:13 +0200 Subject: [PATCH 2/3] fix: typo --- packages/frontend/src/components/MkNote.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 473d0204f..e08588e8e 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -373,7 +373,7 @@ function like(): void { pleaseLogin(); showMovedDialog(); os.api('notes/reactions/create', { - noteId: apperNote.id, + noteId: appearNote.id, reaction: '❤️', }); const el = likeButton.value as HTMLElement | null | undefined; From 4b323b7fbf6e8e7391ce75aa3d4ee7ac1b48f2fe Mon Sep 17 00:00:00 2001 From: Insert5StarName Date: Sun, 1 Oct 2023 05:06:48 +0200 Subject: [PATCH 3/3] upd: add translated version of important notes --- packages/frontend/src/components/MkSignupDialog.rules.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue index c58107bd1..2f16ed2ca 100644 --- a/packages/frontend/src/components/MkSignupDialog.rules.vue +++ b/packages/frontend/src/components/MkSignupDialog.rules.vue @@ -43,7 +43,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.basicNotesBeforeCreateAccount }} + {{ i18n.ts.basicNotesBeforeCreateAccount }} {{ i18n.ts.agree }}