diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-09-17 10:33:33 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-09-17 10:33:33 +0900 |
| commit | 907d519da36c550dde0a39970057bce22ffdcc5f (patch) | |
| tree | 72ad0cc084a6b6425b42926bf2c1245205068653 /packages/frontend/src/scripts/get-note-menu.ts | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-907d519da36c550dde0a39970057bce22ffdcc5f.tar.gz sharkey-907d519da36c550dde0a39970057bce22ffdcc5f.tar.bz2 sharkey-907d519da36c550dde0a39970057bce22ffdcc5f.zip | |
enhance(frontend): improve note detail page
Diffstat (limited to 'packages/frontend/src/scripts/get-note-menu.ts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 5bda993fff..d9fae946d3 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -238,18 +238,6 @@ export function getNoteMenu(props: { os.pageWindow(`/notes/${appearNote.id}`); } - function showReactions(): void { - os.popup(defineAsyncComponent(() => import('@/components/MkReactedUsersDialog.vue')), { - noteId: appearNote.id, - }, {}, '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; @@ -280,14 +268,6 @@ export function getNoteMenu(props: { text: i18n.ts.details, action: openDetail, }, { - icon: 'ti ti-repeat', - text: i18n.ts.renotesList, - action: showRenotes, - }, { - icon: 'ti ti-icons', - text: i18n.ts.reactionsList, - action: showReactions, - }, { icon: 'ti ti-copy', text: i18n.ts.copyContent, action: copyContent, |