fix(app): disable deploy when there are no namespaces [EE-6295] (#10606)

Co-authored-by: testa113 <testa113>
pull/10607/head
Ali 1 year ago committed by GitHub
parent e6ef913bb1
commit e4ddd8048a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1429,7 +1429,7 @@
ng-if="ctrl.state.appType === ctrl.KubernetesDeploymentTypes.APPLICATION_FORM" ng-if="ctrl.state.appType === ctrl.KubernetesDeploymentTypes.APPLICATION_FORM"
type="button" type="button"
class="btn btn-primary btn-sm !ml-0" class="btn btn-primary btn-sm !ml-0"
ng-disabled="!kubernetesApplicationCreationForm.$valid || ctrl.isDeployUpdateButtonDisabled() || !ctrl.imageValidityIsValid() || ctrl.hasPortErrors()" ng-disabled="!kubernetesApplicationCreationForm.$valid || ctrl.isDeployUpdateButtonDisabled() || !ctrl.imageValidityIsValid() || ctrl.hasPortErrors() || !ctrl.formValues.ResourcePool"
ng-click="ctrl.deployApplication()" ng-click="ctrl.deployApplication()"
button-spinner="ctrl.state.actionInProgress" button-spinner="ctrl.state.actionInProgress"
data-cy="k8sAppCreate-deployButton" data-cy="k8sAppCreate-deployButton"

Loading…
Cancel
Save