Skip to content

Commit

Permalink
fix(need-redeploy-flag): hide if no service deployment state to avoid…
Browse files Browse the repository at this point in the history
… glitch reloading (#1695)
  • Loading branch information
RemiBonnet authored Sep 26, 2024
1 parent 7664f66 commit a0631d8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export function NeedRedeployFlag() {
})
const { mutate: deployService } = useDeployService({ environmentId })

if (!serviceDeploymentStatus) return null

const serviceDeploymentStatusState =
serviceDeploymentStatus?.service_deployment_status ?? ServiceDeploymentStatusEnum.NEVER_DEPLOYED

Expand Down

0 comments on commit a0631d8

Please sign in to comment.