forked from FoundKeyGang/FoundKey
client: auto-fix lints
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>
|
<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;
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue