summaryrefslogtreecommitdiff
path: root/packages/client/src/components/note-detailed.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-06-05 12:26:36 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-06-05 12:26:36 +0900
commit5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f (patch)
treeb570dff87e6e789d09f767f56612fdf7b1344fd5 /packages/client/src/components/note-detailed.vue
parentchore(client): fix menu item style (diff)
downloadmisskey-5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f.tar.gz
misskey-5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f.tar.bz2
misskey-5fb3f8a1164e88d4cbff458e0aefb8754e5bb76f.zip
chore: lint fixes
Diffstat (limited to 'packages/client/src/components/note-detailed.vue')
-rw-r--r--packages/client/src/components/note-detailed.vue16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/client/src/components/note-detailed.vue b/packages/client/src/components/note-detailed.vue
index 14bbbd4f3c..6234b710d2 100644
--- a/packages/client/src/components/note-detailed.vue
+++ b/packages/client/src/components/note-detailed.vue
@@ -222,7 +222,7 @@ function react(viaKeyboard = false): void {
reactionPicker.show(reactButton.value, reaction => {
os.api('notes/reactions/create', {
noteId: appearNote.id,
- reaction: reaction
+ reaction: reaction,
});
}, () => {
focus();
@@ -233,7 +233,7 @@ function undoReact(note): void {
const oldReaction = note.myReaction;
if (!oldReaction) return;
os.api('notes/reactions/delete', {
- noteId: note.id
+ noteId: note.id,
});
}
@@ -257,7 +257,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);
}
@@ -269,12 +269,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,
});
}
@@ -288,14 +288,14 @@ function blur() {
os.api('notes/children', {
noteId: appearNote.id,
- limit: 30
+ limit: 30,
}).then(res => {
replies.value = res;
});
if (appearNote.replyId) {
os.api('notes/conversation', {
- noteId: appearNote.replyId
+ noteId: appearNote.replyId,
}).then(res => {
conversation.value = res.reverse();
});