Apply suggestions from code review
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
parent
16d0742e76
commit
aeb7dca096
|
@ -566,12 +566,13 @@ function showRenoteMenu(): void {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const renoteDetailsMenu: MenuItem = {
|
const renoteDetailsMenu: MenuItem = {
|
||||||
type: 'link',
|
type: 'link',
|
||||||
text: i18n.ts.renoteDetails,
|
text: i18n.ts.renoteDetails,
|
||||||
icon: 'ti ti-info-circle',
|
icon: 'ti ti-info-circle',
|
||||||
to: notePage(note.value),
|
to: notePage(note.value),
|
||||||
}
|
};
|
||||||
|
|
||||||
if (isMyRenote) {
|
if (isMyRenote) {
|
||||||
pleaseLogin({ openOnRemote: pleaseLoginContext.value });
|
pleaseLogin({ openOnRemote: pleaseLoginContext.value });
|
||||||
|
|
Loading…
Reference in New Issue