Store file upload history on server
This commit is contained in:
@@ -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