Skip to content

Commit

Permalink
fix: use display version of date labels
Browse files Browse the repository at this point in the history
  • Loading branch information
superskip committed Oct 10, 2023
1 parent 703546a commit 227aea7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const styles = {

const getGeometryType = geometryType =>
(geometryType === 'Point' ? dataElementTypes.COORDINATE : dataElementTypes.POLYGON);
const getEnrollmentDateLabel = program => program.enrollmentDateLabel || i18n.t('Enrollment date');
const getIncidentDateLabel = program => program.incidentDateLabel || i18n.t('Incident date');
const getEnrollmentDateLabel = program => program.displayEnrollmentDateLabel || i18n.t('Enrollment date');
const getIncidentDateLabel = program => program.displayIncidentDateLabel || i18n.t('Incident date');

export const WidgetEnrollmentPlain = ({
classes,
Expand Down

0 comments on commit 227aea7

Please sign in to comment.