Only use attemptedStatus on re-download if it is 'installed'
This commit is contained in:
parent
205f04e70e
commit
b221dcff5a
1 changed files with 3 additions and 1 deletions
|
@ -147,10 +147,12 @@ function capturePacksToDownload(existingPackLookup) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doesPackNeedDownload(existing)) {
|
if (doesPackNeedDownload(existing)) {
|
||||||
|
const status =
|
||||||
|
existing.attemptedStatus === 'installed' ? 'installed' : null;
|
||||||
toDownload[id] = {
|
toDownload[id] = {
|
||||||
id,
|
id,
|
||||||
key: existing.key,
|
key: existing.key,
|
||||||
status: existing.attemptedStatus,
|
status,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue