diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index 85ea2ae..7ecaf52 100644 --- a/dashboard/src/App.jsx +++ b/dashboard/src/App.jsx @@ -328,7 +328,7 @@ function CustomerDetail({ customerId, onDelete }) { } const batchDeploy = async () => { - const toDeploy = sorted.filter(e => selected.has(e.id) && !e.installed_version) + const toDeploy = sorted.filter(e => selected.has(e.id) && !e.installed_version && e.latest_version) setBatchDeploying(true) setBatchProgress({ current: 0, total: toDeploy.length, module: '' }) const results = [] @@ -495,6 +495,8 @@ function CustomerDetail({ customerId, onDelete }) {