browser: Selecting a new bucket appends objects list to previous bucket's list (#4252)

This commit is contained in:
Krishna Srinivas 2017-05-04 11:12:46 -07:00 committed by Harshavardhana
parent 02910725c5
commit 972a527b66

View File

@ -85,7 +85,7 @@ export default (state = {
case actions.SET_OBJECTS:
newState.objects = [...action.objects]
break
case action.RESET_OBJECTS:
case actions.RESET_OBJECTS:
newState.objects = []
newState.marker = ""
newState.istruncated = false