Fix file info selector

This commit is contained in:
6ea86b96 2017-07-04 13:48:52 +07:00
parent 7c3953ac51
commit 35a5cb0918

View file

@ -102,7 +102,7 @@ export const selectFileInfosPublished = createSelector(
const fileInfo = byOutpoint[outpoint]; const fileInfo = byOutpoint[outpoint];
if (fileInfo) fileInfos.push(fileInfo); if (fileInfo) fileInfos.push(fileInfo);
}); });
return fileInfos; return [...fileInfos, ...pendingPublish];
} }
); );