Merge pull request #333 from lbryio/fix-noDeletePending

prevent delete from byUri when pending
This commit is contained in:
jessopb 2020-07-02 16:35:11 -04:00 committed by GitHub
commit 0b867cbbdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
dist/bundle.es.js vendored
View file

@ -5222,7 +5222,7 @@ function handleClaimAction(state, action) {
}
newResolvingUrls.delete(url);
if (!stream && !channel) {
if (!stream && !channel && !pendingIds.includes(byUri[url])) {
byUri[url] = null;
}
});

View file

@ -160,7 +160,7 @@ function handleClaimAction(state: State, action: any): State {
}
newResolvingUrls.delete(url);
if (!stream && !channel) {
if (!stream && !channel && !pendingIds.includes(byUri[url])) {
byUri[url] = null;
}
});