Skip to content

Commit

Permalink
adjusting the params sent to BaseFloatingDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed May 3, 2024
1 parent 8ad109e commit e1daa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/map/observation-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function ObservationDialog(obs_data) {
};

// create an object for the base dialog
const floaterArgs = {title: obs_data.obs.location_name, dialogObject: {...graphObj(obs_data.obs.csvurl)}, dataKey: obs_data.obs.location_name, dataList: selectedObservations, setDataList: setSelectedObservations};
const floaterArgs = {title: obs_data.obs.location_name, dialogObject: {...graphObj(obs_data.obs.csvurl)}, dataKey: obs_data.obs.station_name, dataList: selectedObservations, setDataList: setSelectedObservations};

// render the dialog.
// the key here will be used to remove the dialog from the selected observation list when the dialog is closed
Expand Down

0 comments on commit e1daa6d

Please sign in to comment.