Skip to content

Commit f170007

Browse files
committed
Fixed #7904, Respect current language for filtering tutorials
1 parent 135c267 commit f170007

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/developers/tutorials.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,9 @@ const TutorialsPage = ({
367367
return false
368368
}
369369
}
370-
return true
370+
return hasTutorialsCheck
371+
? tutorial.lang === pageContext.language
372+
: tutorial.lang === "en"
371373
})
372374
}
373375
setState({ activeTagNames, filteredTutorials })

0 commit comments

Comments
 (0)