Skip to content

Commit

Permalink
Only use attemptedStatus on re-download if it is 'installed'
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed May 30, 2019
1 parent 205f04e commit b221dcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/modules/stickers.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,12 @@ function capturePacksToDownload(existingPackLookup) {
}

if (doesPackNeedDownload(existing)) {
const status =
existing.attemptedStatus === 'installed' ? 'installed' : null;
toDownload[id] = {
id,
key: existing.key,
status: existing.attemptedStatus,
status,
};
}
});
Expand Down

0 comments on commit b221dcf

Please sign in to comment.