Two file info fixes since last merge
This commit is contained in:
parent
fabfc06703
commit
78be53806b
2 changed files with 2 additions and 2 deletions
|
@ -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, {
|
||||
|
|
|
@ -119,7 +119,7 @@ export const selectFileInfosPublished = createSelector(
|
|||
|
||||
export const selectFileInfosByUri = createSelector(
|
||||
selectClaimsByUri,
|
||||
selectAllFileInfos,
|
||||
selectFileInfosByOutpoint,
|
||||
(claimsByUri, byOutpoint) => {
|
||||
const fileInfos = {};
|
||||
const uris = Object.keys(claimsByUri);
|
||||
|
|
Loading…
Reference in a new issue