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 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, {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue