@ -69,19 +70,22 @@ export function RollbackApplicationButton({
patchAppMutation.isLoading;
constrollbackButton=(
<Button
ng-if="!ctrl.isExternalApplication()"
type="button"
color="light"
size="small"
className="!ml-0"
disabled={isRollbackNotAvailable}
onClick={()=>rollbackApplication()}
data-cy="k8sAppDetail-rollbackButton"
>
<Iconicon={RotateCcw}className="mr-1"/>
Rollbacktopreviousconfiguration
</Button>
<divclassName="flex gap-x-2">
<Button
ng-if="!ctrl.isExternalApplication()"
type="button"
color="light"
size="small"
className="!ml-0"
disabled={isRollbackNotAvailable}
onClick={()=>rollbackApplication()}
data-cy="k8sAppDetail-rollbackButton"
>
<Iconicon={RotateCcw}className="mr-1"/>
Rollbacktopreviousconfiguration
</Button>
<Tooltipmessage="Only one level of rollback is available, i.e. if you roll back from v2 to v1, and then roll back again, you will end up back at v2. Note that service changes and autoscaler rule changes are not included in rollback functionality. This is how Kubernetes works natively."/>