upodated rep file upload
This commit is contained in:
@@ -12,6 +12,7 @@ const currentViewInitialState = {
|
||||
showReps: false,
|
||||
showLogin: false,
|
||||
locale: "",
|
||||
fileList: [],
|
||||
};
|
||||
|
||||
export default function reducer(state = currentViewInitialState, action) {
|
||||
@@ -37,6 +38,12 @@ export default function reducer(state = currentViewInitialState, action) {
|
||||
...state,
|
||||
representationCapacity: action.representationCapacity,
|
||||
};
|
||||
case currentViewActionTypes.SETFILELISTREPS:
|
||||
return {
|
||||
...state,
|
||||
fileList: action.fileList,
|
||||
};
|
||||
|
||||
case currentViewActionTypes.SETREPRESENTATIONSUBMIT:
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user