fix(driver-store): refresh list per driver during batch upgrade

This commit is contained in:
t8y2
2026-07-10 11:46:43 +08:00
parent 3f87a7f689
commit c8717a9412
@@ -999,6 +999,13 @@ onMounted(async () => {
upgradingIndex.value = payload.current ?? 0;
upgradingTotal.value = payload.total_drivers ?? 0;
}
// During a batch upgrade, refresh the list as soon as each driver finishes
// (step="done") so its "Update" button disappears immediately instead of
// staying disabled until the whole batch completes (step="all-done").
// Single-driver installs (upgradingAll=false) are refreshed by runDriverInstall.
if (upgradingAll.value && payload.step === "done") {
void refreshAgents();
}
});
void loadJdbcDrivers();
void loadJdbcPluginStatus();