upgrade flow

This commit is contained in:
Andy Miller
2025-10-16 14:59:11 -06:00
parent 6ff2c4576c
commit 4d789fc31a
2 changed files with 14 additions and 2 deletions

View File

@@ -384,7 +384,13 @@ export default class SafeUpgrade {
this.renderResult(data);
this.stopPolling();
this.fetchStatus(true);
this.renderProgress({
stage: 'complete',
message: data.message || t('SAFE_UPGRADE_STAGE_COMPLETE', 'Upgrade complete'),
percent: 100,
target_version: data.version || (data.manifest && data.manifest.target_version) || null,
manifest: data.manifest || null
});
});
}

View File

@@ -4846,7 +4846,13 @@ var SafeUpgrade = /*#__PURE__*/function () {
}
_this4.renderResult(data);
_this4.stopPolling();
_this4.fetchStatus(true);
_this4.renderProgress({
stage: 'complete',
message: data.message || t('SAFE_UPGRADE_STAGE_COMPLETE', 'Upgrade complete'),
percent: 100,
target_version: data.version || data.manifest && data.manifest.target_version || null,
manifest: data.manifest || null
});
});
}
}, {