fix(client): The … button on notes does nothing when not logged in

Fix #9659
This commit is contained in:
syuilo 2023-01-21 16:59:58 +09:00
parent 3bf775c9a8
commit 4b75c68753
2 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,7 @@ You should also include the user name that made the change.
### Bugfixes ### Bugfixes
- playを削除する手段がなかったのを修正 - playを削除する手段がなかったのを修正
- The … button on notes does nothing when not logged in
## 13.0.0 (2023/01/16) ## 13.0.0 (2023/01/16)

View file

@ -187,7 +187,7 @@ export function getNoteMenu(props: {
}); });
} }
function notedetails(): void { function openDetail(): void {
os.pageWindow(`/notes/${appearNote.id}`); os.pageWindow(`/notes/${appearNote.id}`);
} }
@ -225,7 +225,7 @@ export function getNoteMenu(props: {
), { ), {
icon: 'ti ti-info-circle', icon: 'ti ti-info-circle',
text: i18n.ts.details, text: i18n.ts.details,
action: notedetails, action: openDetail,
}, { }, {
icon: 'ti ti-users', icon: 'ti ti-users',
text: i18n.ts.reactions, text: i18n.ts.reactions,