Skip to content

Commit

Permalink
Merge branch 'master' into testing-new-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ericboucher authored Oct 31, 2023
2 parents 4c9ba67 + 1f17394 commit 6b46531
Show file tree
Hide file tree
Showing 10 changed files with 1,060 additions and 392 deletions.
2 changes: 1 addition & 1 deletion api/app/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def mock_prism_api_stats_call(route):
await page.wait_for_selector('div[id="full-width-tabpanel-2"]', state="visible")

await page.wait_for_selector(
'div[class="memo-analysisButtonContainer-140"]', state="visible"
'div[class^="memo-analysisButtonContainer-"]', state="visible"
)

await page.wait_for_selector(CREATE_REPORT_BUTTON_SELECTOR, state="attached")
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/DataViewer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ function DataViewer({ classes }: DatasetProps) {
url: params.url,
serverLayerName: params.serverLayerName,
datasetFields: params.datasetFields,
selectedDate,
};
dispatch(loadDataset(requestParams));
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const ChartSection = memo(
chartLayer,
adminProperties,
adminLevel,
date,
startDate,
endDate,
dataForCsv,
classes,
}: ChartSectionProps) => {
Expand Down Expand Up @@ -72,13 +73,15 @@ const ChartSection = memo(
url: params.url,
serverLayerName: params.serverLayerName,
datasetFields: params.datasetFields,
selectedDate: date,
startDate,
endDate,
};
}, [
adminCode,
adminKey,
adminLevel,
date,
startDate,
endDate,
params.boundaryProps,
params.datasetFields,
params.serverLayerName,
Expand Down Expand Up @@ -280,7 +283,8 @@ export interface ChartSectionProps extends WithStyles<typeof styles> {
chartLayer: WMSLayerProps;
adminProperties: GeoJsonProperties;
adminLevel: 0 | 1 | 2;
date: number;
startDate: number;
endDate: number;
dataForCsv: React.MutableRefObject<any>;
}

Expand Down
Loading

0 comments on commit 6b46531

Please sign in to comment.