fix: lint

This commit is contained in:
Marie 2024-01-02 12:32:49 +01:00
parent b87142d2f7
commit 0197d3354a
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 4 additions and 0 deletions

View file

@ -91,6 +91,7 @@ import MkSubNoteContent from '@/components/MkSubNoteContent.vue';
import MkCwButton from '@/components/MkCwButton.vue';
import { notePage } from '@/filters/note.js';
import * as os from '@/os.js';
import * as sound from '@/scripts/sound.js';
import { i18n } from '@/i18n.js';
import { $i } from '@/account.js';
import { userPage } from '@/filters/user.js';
@ -193,6 +194,7 @@ function reply(viaKeyboard = false): void {
function react(viaKeyboard = false): void {
pleaseLogin();
showMovedDialog();
sound.play('reaction');
if (props.note.reactionAcceptance === 'likeOnly') {
os.api('notes/like', {
noteId: props.note.id,

View file

@ -99,6 +99,7 @@ import MkSubNoteContent from '@/components/MkSubNoteContent.vue';
import MkCwButton from '@/components/MkCwButton.vue';
import { notePage } from '@/filters/note.js';
import * as os from '@/os.js';
import * as sound from '@/scripts/sound.js';
import { i18n } from '@/i18n.js';
import { $i } from '@/account.js';
import { userPage } from '@/filters/user.js';
@ -202,6 +203,7 @@ function reply(viaKeyboard = false): void {
function react(viaKeyboard = false): void {
pleaseLogin();
showMovedDialog();
sound.play('reaction');
if (props.note.reactionAcceptance === 'likeOnly') {
os.api('notes/like', {
noteId: props.note.id,