upd: swap `api` out with `apiWithDialog` for word mute saving
Closes #259
This commit is contained in:
parent
5bc036180f
commit
45b99a476d
|
@ -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(() => []);
|
||||
|
|
Loading…
Reference in New Issue