Merge pull request #293 from lbryio/file-info-fix

Two file info fixes since last merge
This commit is contained in:
Alex Grin 2017-06-27 09:52:40 -04:00 committed by GitHub
commit e22b44d609
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 newDownloading = Object.assign({}, state.urisDownloading);
byOutpoint[outpoint] = fileInfo;
newByOutpoint[outpoint] = fileInfo;
newDownloading[uri] = true;
return Object.assign({}, state, {

View file

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