client: auto-fix lints

This commit is contained in:
Norm 2022-10-03 03:05:53 -04:00
parent 0b26d96776
commit 4394957a5a
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
2 changed files with 4 additions and 4 deletions

View file

@ -30,8 +30,8 @@
<script lang="ts" setup> <script lang="ts" setup>
import { reactive } from 'vue'; import { reactive } from 'vue';
import number from '@/filters/number';
import XValue from './object-view.value.vue'; import XValue from './object-view.value.vue';
import number from '@/filters/number';
const props = defineProps<{ const props = defineProps<{
value: any; value: any;

View file

@ -78,20 +78,20 @@ export function getNoteMenu(props: {
const { includingTypes: value } = res; const { includingTypes: value } = res;
let mutingNotificationTypes: string[] | undefined; let mutingNotificationTypes: string[] | undefined;
if (value != null) { if (value != null) {
mutingNotificationTypes = foundkey.noteNotificationTypes.filter(x => !value.includes(x)) mutingNotificationTypes = foundkey.noteNotificationTypes.filter(x => !value.includes(x));
} }
await os.apiWithDialog('notes/thread-muting/create', { await os.apiWithDialog('notes/thread-muting/create', {
noteId: appearNote.id, noteId: appearNote.id,
mutingNotificationTypes, mutingNotificationTypes,
}); });
} },
}, 'closed'); }, 'closed');
} }
function unmuteThread(): void { function unmuteThread(): void {
os.apiWithDialog('notes/thread-muting/delete', { os.apiWithDialog('notes/thread-muting/delete', {
noteId: appearNote.id noteId: appearNote.id,
}); });
} }