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:
1 parent
4d3a4f1a8a
commit
f05030278e
2 files changed
+3
-2
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user