diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-05 12:26:36 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-05 12:26:36 +0900 |
| commit | 5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f (patch) | |
| tree | b570dff87e6e789d09f767f56612fdf7b1344fd5 /packages/client/src/components/note.vue | |
| parent | chore(client): fix menu item style (diff) | |
| download | sharkey-5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f.tar.gz sharkey-5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f.tar.bz2 sharkey-5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f.zip | |
chore: lint fixes
Diffstat (limited to 'packages/client/src/components/note.vue')
| -rw-r--r-- | packages/client/src/components/note.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue index bc8a0dd19d..e5744d1ce9 100644 --- a/packages/client/src/components/note.vue +++ b/packages/client/src/components/note.vue @@ -210,7 +210,7 @@ function react(viaKeyboard = false): void { reactionPicker.show(reactButton.value, reaction => { os.api('notes/reactions/create', { noteId: appearNote.id, - reaction: reaction + reaction: reaction, }); }, () => { focus(); @@ -221,7 +221,7 @@ function undoReact(note): void { const oldReaction = note.myReaction; if (!oldReaction) return; os.api('notes/reactions/delete', { - noteId: note.id + noteId: note.id, }); } @@ -245,7 +245,7 @@ function onContextmenu(ev: MouseEvent): void { function menu(viaKeyboard = false): void { os.popupMenu(getNoteMenu({ note: note, translating, translation, menuButton }), menuButton.value, { - viaKeyboard + viaKeyboard, }).then(focus); } @@ -257,12 +257,12 @@ function showRenoteMenu(viaKeyboard = false): void { danger: true, action: () => { os.api('notes/delete', { - noteId: note.id + noteId: note.id, }); isDeleted.value = true; - } + }, }], renoteTime.value, { - viaKeyboard: viaKeyboard + viaKeyboard: viaKeyboard, }); } @@ -284,7 +284,7 @@ function focusAfter() { function readPromo() { os.api('promo/read', { - noteId: appearNote.id + noteId: appearNote.id, }); isDeleted.value = true; } |