client: auto-fix lints
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Norm 2022-10-03 03:05:53 -04:00
parent 0b26d96776
commit 4394957a5a
Signed by: 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,
});
}