Skip to content

Commit

Permalink
fix: ブックマークのミュート
Browse files Browse the repository at this point in the history
#44をさらに修正
  • Loading branch information
hamachi25 committed Mar 4, 2025
1 parent 5861abf commit e3c1b8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/entrypoints/content/utils/transformData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ export const transformData = (

// ブックマークを除外
const shouldFilterMuted =
(!(PAGE_REGEX.bookmarkIllust.test(pathName) || PAGE_REGEX.bookmarkNovel.test(pathName)) &&
muteSettings.tags.length > 0) ||
muteSettings.users.length > 0;
!(PAGE_REGEX.bookmarkIllust.test(pathName) || PAGE_REGEX.bookmarkNovel.test(pathName)) &&
(muteSettings.tags.length > 0 || muteSettings.users.length > 0);

return (illustData || []).filter(isIllustItem).map((item: Work) => ({
id: item.id,
Expand Down

0 comments on commit e3c1b8c

Please sign in to comment.