upd: swap api out with apiWithDialog for word mute saving

Closes #259
This commit is contained in:
Marie 2023-12-27 09:39:59 +01:00
parent 5bc036180f
commit 45b99a476d

View File

@ -216,11 +216,11 @@ async function toggleBlockItem(item) {
}
async function saveMutedWords(mutedWords: (string | string[])[]) {
await os.api('i/update', { mutedWords });
await os.apiWithDialog('i/update', { mutedWords });
}
async function saveHardMutedWords(hardMutedWords: (string | string[])[]) {
await os.api('i/update', { hardMutedWords });
await os.apiWithDialog('i/update', { hardMutedWords });
}
const headerActions = computed(() => []);