Store file upload history on server

This commit is contained in:
Torjus
2018-07-31 09:56:29 +02:00
parent 8b6ebe39b2
commit 35b3da155d
4 changed files with 60 additions and 1 deletions
+3
View File
@@ -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;
}