Browser: Remove duplicate object entries while sorting (#3813)

This commit is contained in:
Rushan 2017-03-01 02:41:34 +05:30 committed by Harshavardhana
parent 9b3c014bab
commit fcad4a44fd

View File

@ -83,7 +83,7 @@ export default (state = {
newState.marker = ""
newState.istruncated = action.istruncated
} else {
newState.objects = [...newState.objects, ...action.objects]
newState.objects = [...action.objects]
newState.marker = action.marker
newState.istruncated = action.istruncated
}