Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
  • Loading branch information
amsiglan committed Oct 6, 2023
1 parent 5d7d424 commit cefe48a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/pages/Correlations/components/FilterGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ export const FilterGroup: React.FC<LogTypeFilterGroupProps> = ({
checked: 'on',
};
}
const chilIds = newItems[index].childOptionIds;
if (chilIds) {
const childIds = newItems[index].childOptionIds;
if (childIds) {
newItems.forEach((item) => {
if (chilIds.has(item.id)) {
if (childIds.has(item.id)) {
item.checked = newItems[index].checked;
}
});
Expand Down

0 comments on commit cefe48a

Please sign in to comment.