Store file upload history on server
This commit is contained in:
1 parent
8b6ebe39b2
commit
35b3da155d
4 files changed
+60
-1
No files matched your search
@@ -8,6 +8,9 @@ const sharing = (state = [], action) =>
|
||||
case 'ADD_FILE':
|
||||
return [ ...state, action.payload ];
|
||||
|
||||
case 'ADD_FILE_HISTORY':
|
||||
return [ ...action.payload.fileHistory, ...state ];
|
||||
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user