diff --git a/containers/CommonsData.js b/containers/CommonsData.js index e354418..0baf645 100644 --- a/containers/CommonsData.js +++ b/containers/CommonsData.js @@ -38,7 +38,7 @@ function mergeProps(stateProps, dispatchProps, ownProps) { const deviceTypes = getAvailableDeviceTypes(stateProps.devices); const periods = PERIODS.METER - .filter(period => period.id !== 'day'); + .filter(period => period.id !== 'day' && period.id !== 'trimester'); const active = stateProps.myCommons.find(common => common.key === stateProps.activeKey); diff --git a/lib/containers/CommonsData.js b/lib/containers/CommonsData.js index f2a84f0..337e592 100644 --- a/lib/containers/CommonsData.js +++ b/lib/containers/CommonsData.js @@ -68,7 +68,7 @@ function mergeProps(stateProps, dispatchProps, ownProps) { var deviceTypes = getAvailableDeviceTypes(stateProps.devices); var periods = PERIODS.METER.filter(function (period) { - return period.id !== 'day'; + return period.id !== 'day' && period.id !== 'trimester'; }); var active = stateProps.myCommons.find(function (common) {