mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 04:37:25 +00:00
fix(driver-store): refresh list per driver during batch upgrade
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user