Skip to content

Commit

Permalink
fetch languages for org reports filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikvirendrar committed Jul 30, 2024
1 parent ad0755b commit a5c1c9e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/containers/Organization/OrganizationReport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
FetchOrganizationReportsAPI,
DownloadOrganizationReportsAPI,
updateOrgSelectedFilter,
FetchSupportedLanguagesAPI,
} from "redux/actions";

//Themes
Expand Down Expand Up @@ -129,6 +130,14 @@ const OrganizationReport = () => {
{handleTaskReportSubmit();}
}, [orgSelectedFilters]);

useEffect(() => {
const transcriptLangObj = new FetchSupportedLanguagesAPI("TRANSCRIPTION");
dispatch(APITransport(transcriptLangObj));

const translationLangObj = new FetchSupportedLanguagesAPI("TRANSLATION");
dispatch(APITransport(translationLangObj));
}, [])

const handleChangelanguageLevelStats = (event) => {
setlanguageLevelStats(event.target.value);
setOffset(0);
Expand Down

0 comments on commit a5c1c9e

Please sign in to comment.