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
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:
parent
0b26d96776
commit
4394957a5a
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue