Skip to content

Commit

Permalink
fix: remove fallback coordinate field (DHIS2-8165) (#2575)
Browse files Browse the repository at this point in the history
  • Loading branch information
turban authored Apr 24, 2023
1 parent b971e40 commit d157c30
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/edit/event/EventDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
setEventClustering,
setEventPointColor,
setEventPointRadius,
setFallbackCoordinateField,
// setFallbackCoordinateField,
setPeriod,
setStartDate,
setEndDate,
Expand Down Expand Up @@ -63,7 +63,7 @@ class EventDialog extends Component {
setEventPointColor: PropTypes.func.isRequired,
setEventPointRadius: PropTypes.func.isRequired,
setEventStatus: PropTypes.func.isRequired,
setFallbackCoordinateField: PropTypes.func.isRequired,
// setFallbackCoordinateField: PropTypes.func.isRequired,
setOrgUnits: PropTypes.func.isRequired,
setPeriod: PropTypes.func.isRequired,
setProgram: PropTypes.func.isRequired,
Expand All @@ -79,7 +79,7 @@ class EventDialog extends Component {
eventPointColor: PropTypes.string,
eventPointRadius: PropTypes.number,
eventStatus: PropTypes.string,
fallbackCoordinateField: PropTypes.string,
// fallbackCoordinateField: PropTypes.string,
filters: PropTypes.array,
legendSet: PropTypes.object,
method: PropTypes.number,
Expand Down Expand Up @@ -169,7 +169,7 @@ class EventDialog extends Component {
eventCoordinateField,
eventPointColor,
eventPointRadius,
fallbackCoordinateField,
// fallbackCoordinateField,
filters = [],
program,
programStage,
Expand All @@ -186,7 +186,7 @@ class EventDialog extends Component {
setEventClustering,
setEventPointColor,
setEventPointRadius,
setFallbackCoordinateField,
// setFallbackCoordinateField,
setPeriod,
} = this.props

Expand Down Expand Up @@ -244,7 +244,7 @@ class EventDialog extends Component {
onChange={setEventCoordinateField}
className={styles.select}
/>
{eventCoordinateField && (
{/* eventCoordinateField && (
<CoordinateField
program={program}
programStage={programStage}
Expand All @@ -253,7 +253,7 @@ class EventDialog extends Component {
onChange={setFallbackCoordinateField}
className={styles.select}
/>
)}
) */}
<EventStatusSelect
value={eventStatus}
onChange={setEventStatus}
Expand Down Expand Up @@ -471,7 +471,7 @@ export default connect(
setEventClustering,
setEventPointColor,
setEventPointRadius,
setFallbackCoordinateField,
// setFallbackCoordinateField,
setPeriod,
setStartDate,
setEndDate,
Expand Down

0 comments on commit d157c30

Please sign in to comment.