diff --git a/src/components/IOC/IOCDeployDialog.js b/src/components/IOC/IOCDeployDialog.js index 926d63417a7ed61925248e5f0fe7ee5cd9d8be34..9480e2058f7b39c1629183b17d7943b4305af7b4 100644 --- a/src/components/IOC/IOCDeployDialog.js +++ b/src/components/IOC/IOCDeployDialog.js @@ -87,7 +87,7 @@ export function IOCDeployDialog({ open, setOpen, submitCallback, hasActiveDeploy </DialogContent> <DialogActions> <Button onClick={handleClose} color="primary">Cancel</Button> - <Button color="primary" variant="contained" type="submit" disabled={init?.version === gitVersion}>Deploy</Button> + <Button color="primary" variant="contained" type="submit" disabled={hasActiveDeployment && init?.version === gitVersion}>Deploy</Button> </DialogActions> </form> </Dialog>