From d37db4a7140bd0e2c0e03c29f4ca70cf89dd7b7e Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 29 Jul 2018 12:04:29 +0200 Subject: [PATCH] display records label on calendar --- .../src/components/Others/Calendar.jsx | 8 ++++++-- fittrackee_client/src/utils.js | 13 +++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/fittrackee_client/src/components/Others/Calendar.jsx b/fittrackee_client/src/components/Others/Calendar.jsx index 66ce6a9b..36f1163c 100644 --- a/fittrackee_client/src/components/Others/Calendar.jsx +++ b/fittrackee_client/src/components/Others/Calendar.jsx @@ -6,7 +6,7 @@ import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { getMonthActivities } from '../../actions/activities' -import { getDateWithTZ } from '../../utils' +import { getDateWithTZ, recordsLabels } from '../../utils' const getStartAndEndMonth = date => { const monthStart = dateFns.startOfMonth(date) @@ -125,7 +125,11 @@ class Calendar extends React.Component {