Skip to content

Commit

Permalink
Merge pull request #598 from NIUANULP/main
Browse files Browse the repository at this point in the history
Merging dev into prod III
  • Loading branch information
ManojNathIC authored Sep 9, 2024
2 parents dd06941 + 45b31bc commit dbf2bd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/content/joinCourse.js
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ className="xs-hide accordionBoxShadow"
<Typography
className="h6-title"
onClick={handlecopyrightOpen}
style={{ cursor: "pointer", color: "blue" }}
style={{ cursor: "pointer", color: "blue !important" }}
>
{t("CREDITS")}
</Typography>
Expand Down
5 changes: 4 additions & 1 deletion packages/nulp_elite/src/pages/search/ContentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@ const ContentList = (props) => {
}, [domain]);

useEffect(() => {
setCurrentPage(1)
fetchData();
}, [contentTypeFilter]);
useEffect(() => {
setCurrentPage(1)
fetchData();
}, [subDomainFilter]);

Expand All @@ -129,6 +131,7 @@ const ContentList = (props) => {
}, [globalSearchQuery]);

useEffect(() => {
setCurrentPage(1)
if (headerSearch) {
setSearchQuery(headerSearch || "");
}
Expand Down Expand Up @@ -399,7 +402,7 @@ const ContentList = (props) => {
const handlefilterChanges = (selectedFilters) => {
setContentTypeFilter(selectedFilters.contentFilter || []);
setSubDomainFilter(selectedFilters.subDomainFilter || []);
fetchData();
// fetchData();
};

return (
Expand Down

0 comments on commit dbf2bd9

Please sign in to comment.