Only use attemptedStatus on re-download if it is 'installed'

This commit is contained in:
Scott Nonnenberg 2019-05-29 12:22:52 -07:00
parent 205f04e70e
commit b221dcff5a

View file

@ -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,
}; };
} }
}); });