Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Sep 11, 2024
1 parent d9b6462 commit ff30272
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/ListCognates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ const ListCognates = connect(state => state.user)(({user}) => {
onChange={(e, { checked }) => {
showParentGroup(checked);
setCleanResult(fail);
if (!checked) {
setLanguageGroup(null);
}
}}
/>
<p/>
Expand Down Expand Up @@ -122,6 +125,11 @@ const ListCognates = connect(state => state.user)(({user}) => {
onChange={(e, { checked }) => {
showLanguagePosition(checked);
setCleanResult(fail);
if (!checked) {
setOnlyInToc(false);
setPerspectiveOffset(0);
setPerspectiveLimit(10);
}
}}
/>
<p/>
Expand Down

0 comments on commit ff30272

Please sign in to comment.