summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-01-21 16:59:58 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-01-21 16:59:58 +0900
commit4b75c68753deab3b445c8bea2d1b75f84357aac8 (patch)
tree1bb8a35cd39d25d2d5122aca0b45c31aa69534ed
parentユーザーの実績一覧を見れるように (diff)
downloadmisskey-4b75c68753deab3b445c8bea2d1b75f84357aac8.tar.gz
misskey-4b75c68753deab3b445c8bea2d1b75f84357aac8.tar.bz2
misskey-4b75c68753deab3b445c8bea2d1b75f84357aac8.zip
fix(client): The … button on notes does nothing when not logged in
Fix #9659
-rw-r--r--CHANGELOG.md1
-rw-r--r--packages/frontend/src/scripts/get-note-menu.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ef8238ab23..26632b8399 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,7 @@ You should also include the user name that made the change.
### Bugfixes
- playを削除する手段がなかったのを修正
+- The … button on notes does nothing when not logged in
## 13.0.0 (2023/01/16)
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts
index da7f2a5c20..b5d2251d28 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -187,7 +187,7 @@ export function getNoteMenu(props: {
});
}
- function notedetails(): void {
+ function openDetail(): void {
os.pageWindow(`/notes/${appearNote.id}`);
}
@@ -225,7 +225,7 @@ export function getNoteMenu(props: {
), {
icon: 'ti ti-info-circle',
text: i18n.ts.details,
- action: notedetails,
+ action: openDetail,
}, {
icon: 'ti ti-users',
text: i18n.ts.reactions,