Skip to content

Commit

Permalink
removed trimester tab from commons
Browse files Browse the repository at this point in the history
  • Loading branch information
smanousopoulos committed Sep 27, 2017
1 parent b9d572a commit fb875b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion containers/CommonsData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion lib/containers/CommonsData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fb875b3

Please sign in to comment.