fix: clear stale update metrics after cancellation

Hide downloaded size, throughput, and ETA once an update download is canceled while preserving the red progress position and cancellation status.
This commit is contained in:
Sucukdeluxe
2026-08-21 00:31:27 +02:00
parent 4d3a4f1a8a
commit f05030278e
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -7540,6 +7540,7 @@ function handleUpdateProgress(data) {
_setUpdateDialogBusy(false);
const currentProgress = Number(document.getElementById('updateProgressBar')?.getAttribute('aria-valuenow')) || 0;
_setUpdateProgress(currentProgress, 'Download abgebrochen', 'aborted');
_setUpdateProgressDetails(null);
if (button) {
button.disabled = false;
button.textContent = 'Wiederholen';