diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-29 16:40:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-29 16:40:58 +0900 |
| commit | e8177ee3118beb18a7257de2b3a39ae4fadad4b1 (patch) | |
| tree | 96f9f7125a865ad875d43b37b483a806e3515927 /packages/frontend/src/scripts | |
| parent | Update about-misskey.vue (diff) | |
| parent | feat(client): Renoteした人の一覧を表示するダイアログを追加... (diff) | |
| download | misskey-e8177ee3118beb18a7257de2b3a39ae4fadad4b1.tar.gz misskey-e8177ee3118beb18a7257de2b3a39ae4fadad4b1.tar.bz2 misskey-e8177ee3118beb18a7257de2b3a39ae4fadad4b1.zip | |
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index d91f0b0eb6..c8a6100253 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -211,6 +211,12 @@ export function getNoteMenu(props: { }, {}, 'closed'); } + function showRenotes(): void { + os.popup(defineAsyncComponent(() => import('@/components/MkRenotedUsersDialog.vue')), { + noteId: appearNote.id, + }, {}, 'closed'); + } + async function translate(): Promise<void> { if (props.translation.value != null) return; props.translating.value = true; @@ -241,8 +247,12 @@ export function getNoteMenu(props: { text: i18n.ts.details, action: openDetail, }, { - icon: 'ti ti-users', - text: i18n.ts.reactions, + icon: 'ti ti-repeat', + text: i18n.ts.renotesList, + action: showRenotes, + }, { + icon: 'ti ti-icons', + text: i18n.ts.reactionsList, action: showReactions, }, { icon: 'ti ti-copy', |