Skip to content

Commit

Permalink
ワードミュートの保存失敗時にAPIエラーが握りつぶされる事があるのを修正
Browse files Browse the repository at this point in the history
(cherry picked from commit 85be61d)

Co-authored-by: FineArchs <[email protected]>
  • Loading branch information
u1-liquid and FineArchs committed Jan 25, 2025
1 parent c029bc9 commit 8d18fd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/frontend/src/pages/settings/mute-block.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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(() => []);
Expand Down

0 comments on commit 8d18fd9

Please sign in to comment.