File tree Expand file tree Collapse file tree
src/components/WeeklySummariesReport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1366,7 +1366,7 @@ const WeeklySummariesReport = props => {
13661366 // filterColor,
13671367 // };
13681368 // });
1369- const processedData = processRawSummaries ( response . data ) ;
1369+ const processedData = processRawSummaries ( res . data ) ;
13701370 const { summaries : summariesCopy } = processedData ;
13711371
13721372 setState ( prevState => ( {
@@ -1592,7 +1592,7 @@ const WeeklySummariesReport = props => {
15921592 newTeamCode,
15931593 userId : Object . keys ( userIdObj ) [ 0 ] ,
15941594 } ) ;
1595- await fetchFilters ( ) ;
1595+ await refetch ( ) ;
15961596 }
15971597
15981598 // Update saved filters for team codes only in the database with the new team code
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default function WeeklySummariesToggleFilter({
3030
3131 return (
3232 < div className = { `${ styles . filterContainer } ` } >
33- { ( hasPermissionToFilter || props . hasPermission ( 'highlightEligibleBios' ) ) && (
33+ { ( hasPermissionToFilter || hasPermission ?. ( 'highlightEligibleBios' ) ) && (
3434 < div
3535 className = { `${ styles . filterStyle } ${ styles . marginRight } ` }
3636 style = { { minWidth : 'max-content' } }
You can’t perform that action at this time.
0 commit comments