Two file info fixes since last merge #293

Merged
6ea86b96 merged 1 commit from file-info-fix into master 2017-06-27 15:52:41 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ reducers[types.DOWNLOADING_PROGRESSED] = function(state, action) {
const newByOutpoint = Object.assign({}, state.byOutpoint); const newByOutpoint = Object.assign({}, state.byOutpoint);
const newDownloading = Object.assign({}, state.urisDownloading); const newDownloading = Object.assign({}, state.urisDownloading);
byOutpoint[outpoint] = fileInfo; newByOutpoint[outpoint] = fileInfo;
newDownloading[uri] = true; newDownloading[uri] = true;
return Object.assign({}, state, { return Object.assign({}, state, {

View file

@ -119,7 +119,7 @@ export const selectFileInfosPublished = createSelector(
export const selectFileInfosByUri = createSelector( export const selectFileInfosByUri = createSelector(
selectClaimsByUri, selectClaimsByUri,
selectAllFileInfos, selectFileInfosByOutpoint,
(claimsByUri, byOutpoint) => { (claimsByUri, byOutpoint) => {
const fileInfos = {}; const fileInfos = {};
const uris = Object.keys(claimsByUri); const uris = Object.keys(claimsByUri);