diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-21 16:59:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-21 16:59:58 +0900 |
| commit | 4b75c68753deab3b445c8bea2d1b75f84357aac8 (patch) | |
| tree | 1bb8a35cd39d25d2d5122aca0b45c31aa69534ed | |
| parent | ユーザーの実績一覧を見れるように (diff) | |
| download | misskey-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.md | 1 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 4 |
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, |