mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 21:05:23 +02:00
fix(app): disable deploy when there are no namespaces [EE-6295] (#10606)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
e6ef913bb1
commit
e4ddd8048a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue