This commit is contained in:
Belen Curcio
2017-01-24 19:07:53 -03:00
parent 054baa0530
commit d2acffc19c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -25,11 +25,11 @@ export default function asset (state = initialState, action) {
case actions.OPEN_COMMENTS:
return state
.set('status', 'open')
.set('closedAt', null)
.set('closedAt', null);
case actions.CLOSE_COMMENTS:
return state
.set('status', 'closed')
.set('closedAt', Date.now())
.set('closedAt', Date.now());
default:
return state;
}