fixup: show available updates on manual check

This commit is contained in:
tophf 2018-01-03 20:26:20 +03:00
parent eb3c770612
commit d94b9a0ab7

View File

@ -70,9 +70,9 @@ function checkUpdateAll() {
} }
btnApply.dataset.value = updated; btnApply.dataset.value = updated;
} }
if (info.updated || info.error) { if (info.updated || 'error' in info) {
checked++; checked++;
skippedEdited += [info.STATES.EDITED, info.STATES.MAYBE_EDITED].includes(info.error); skippedEdited += !info.updated && [info.STATES.EDITED, info.STATES.MAYBE_EDITED].includes(info.error);
reportUpdateState(info); reportUpdateState(info);
} }
const progress = $('#update-progress'); const progress = $('#update-progress');