Publish: Handle reflecting-state not updated correctly. #336
2 changed files with 30 additions and 26 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -4758,6 +4758,7 @@ const doCheckReflectingFiles = () => (dispatch, getState) => {
|
|||
|
||||
Promise.all(promises).then(function (results) {
|
||||
results.forEach(function (res) {
|
||||
if (res.items[0]) {
|
||||
const fileListItem = res.items[0];
|
||||
const fileClaimId = fileListItem.claim_id;
|
||||
const {
|
||||
|
@ -4772,6 +4773,7 @@ const doCheckReflectingFiles = () => (dispatch, getState) => {
|
|||
stalled: !done && !uploading
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
}).then(function () {
|
||||
dispatch({
|
||||
|
|
|
@ -395,6 +395,7 @@ export const doCheckReflectingFiles = () => (dispatch: Dispatch, getState: GetSt
|
|||
Promise.all(promises)
|
||||
.then(results => {
|
||||
results.forEach(res => {
|
||||
if (res.items[0]) {
|
||||
const fileListItem = res.items[0];
|
||||
const fileClaimId = fileListItem.claim_id;
|
||||
const {
|
||||
|
@ -409,6 +410,7 @@ export const doCheckReflectingFiles = () => (dispatch: Dispatch, getState: GetSt
|
|||
stalled: !done && !uploading,
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
.then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue