Skip to content

Commit 053a9b1

Browse files
authored
fix: inconsistency with the select all functionality in problem capa type filter (#1294)
1 parent fc4b700 commit 053a9b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/search-manager/FilterByBlockType.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const ProblemFilterItem = ({ count, handleCheckboxChange } : ProblemFilterItemPr
5353

5454
const handleCheckBoxChangeOnProblem = React.useCallback((e) => {
5555
handleCheckboxChange(e);
56+
setIsProblemIndeterminate(false);
5657
if (e.target.checked) {
5758
setProblemTypesFilter(Object.keys(problemTypes));
5859
} else {

0 commit comments

Comments
 (0)