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 committed 2026-08-21 00:31:27 +02:00
1 parent 4d3a4f1a8a
commit f05030278e
2 files changed
+3 -2

No files matched your search

+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';