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

@ -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,