Skip to content

Commit

Permalink
Merge pull request #488 from digitalgreenorg/fs_eth_dev
Browse files Browse the repository at this point in the history
Fs eth dev
  • Loading branch information
i-am-waseem authored Feb 26, 2023
2 parents 01c537f + 8ed1c28 commit eee9a4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Components/GuestUser/GuestUserDatasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ export default function GuestUserDatasets(props) {
setSubcategoryFilterValue([]);
break;
}
// Reset dataset list to the original state if the category filter is empty
if (value.length === 0) getAllDataSets();
} else if (input_field === "Subcategories") {
setSubcategoryFilterValue(value);
}
Expand Down

0 comments on commit eee9a4e

Please sign in to comment.