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

master
Krishna Srinivas 8 years ago committed by Harshavardhana
parent 02910725c5
commit 972a527b66
  1. 2
      browser/app/js/reducers.js

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

Loading…
Cancel
Save