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:
@@ -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