Skip to content

Commit

Permalink
Merge pull request #42 from hamachi25:fix-41
Browse files Browse the repository at this point in the history
ユーザー小説一覧のタグ絞り込みページでミュートを適用すると、全ての作品が表示されなくなるバグを修正
  • Loading branch information
hamachi25 authored Mar 4, 2025
2 parents c044807 + 7121b7d commit 0857e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/filterFirstPageWorks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const filterFirstPageWorks = async (

if (PAGE_REGEX.userIllust.test(pathName) || PAGE_REGEX.userNovel.test(pathName)) {
// ユーザー一覧のタグ絞りの場合
const userTag = /\/users\/\d+\/(illustrations|manga|artworks)\/.+/;
const userTag = /\/users\/\d+\/(illustrations|manga|artworks|novels)\/.+/;
if (userTag.test(pathName)) {
data.body.works = data.body.works.filter((work: Work) => filterMuted(work, mutedItems));
} else {
Expand Down

0 comments on commit 0857e14

Please sign in to comment.