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>
import { reactive } from 'vue';
import number from '@/filters/number';
import XValue from './object-view.value.vue';
import number from '@/filters/number';
const props = defineProps<{
value: any;

View file

@ -78,20 +78,20 @@ export function getNoteMenu(props: {
const { includingTypes: value } = res;
let mutingNotificationTypes: string[] | undefined;
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', {
noteId: appearNote.id,
mutingNotificationTypes,
});
}
},
}, 'closed');
}
function unmuteThread(): void {
os.apiWithDialog('notes/thread-muting/delete', {
noteId: appearNote.id
noteId: appearNote.id,
});
}