Skip to content
Snippets Groups Projects
Commit 45b99a47 authored by Marie's avatar Marie
Browse files

upd: swap `api` out with `apiWithDialog` for word mute saving

Closes #259
parent 5bc03618
No related branches found
No related tags found
No related merge requests found
......@@ -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(() => []);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment