ワードミュートの保存失敗時にAPIエラーが握りつぶされる事があるのを修正
(cherry picked from commit 85be61d86e903099bf8d21d872c810b0646a3746) Co-authored-by: FineArchs <133759614+FineArchs@users.noreply.github.com>
This commit is contained in:
parent
c029bc9b5f
commit
8d18fd9564
1 changed files with 1 additions and 2 deletions
|
@ -145,7 +145,6 @@ import { i18n } from '@/i18n.js';
|
|||
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
||||
import MkUserCardMini from '@/components/MkUserCardMini.vue';
|
||||
import * as os from '@/os.js';
|
||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||
import { infoImageUrl } from '@/instance.js';
|
||||
import { signinRequired } from '@/account.js';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
|
@ -263,7 +262,7 @@ async function toggleBlockItem(item) {
|
|||
}
|
||||
|
||||
async function saveMutedWords(mutedWords: (string | string[])[]) {
|
||||
await misskeyApi('i/update', { mutedWords });
|
||||
await os.apiWithDialog('i/update', { mutedWords });
|
||||
}
|
||||
|
||||
const headerActions = computed(() => []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue