diff --git a/src/app/applications/components/application-deployment-history/application-deployment-history.tsx b/src/app/applications/components/application-deployment-history/application-deployment-history.tsx index 7060dba..bf50511 100644 --- a/src/app/applications/components/application-deployment-history/application-deployment-history.tsx +++ b/src/app/applications/components/application-deployment-history/application-deployment-history.tsx @@ -42,12 +42,12 @@ export const ApplicationDeploymentHistory = ({
{info.revision}
- {info.nextDeployedAt && } items={[{ - title: 'Rollback', + title: info.nextDeployedAt && 'Rollback' || 'Redeploy', action: () => rollbackApp(info), - }]}/>} + }]}/>