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 /packages/frontend/src/scripts/get-note-menu.ts | |
| parent | ユーザーの実績一覧を見れるように (diff) | |
| download | sharkey-4b75c68753deab3b445c8bea2d1b75f84357aac8.tar.gz sharkey-4b75c68753deab3b445c8bea2d1b75f84357aac8.tar.bz2 sharkey-4b75c68753deab3b445c8bea2d1b75f84357aac8.zip | |
fix(client): The … button on notes does nothing when not logged in
Fix #9659
Diffstat (limited to 'packages/frontend/src/scripts/get-note-menu.ts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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, |