mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 06:19:41 +02:00
fix(k8s/application): improve ux for instance count input in creation/edition application (#4498)
This commit is contained in:
parent
380f106571
commit
487123491e
2 changed files with 11 additions and 7 deletions
|
@ -488,12 +488,6 @@ class KubernetesCreateApplicationController {
|
|||
return _.uniq(storageOptions).join(', ');
|
||||
}
|
||||
|
||||
enforceReplicaCountMinimum() {
|
||||
if (this.formValues.ReplicaCount === null) {
|
||||
this.formValues.ReplicaCount = 1;
|
||||
}
|
||||
}
|
||||
|
||||
resourceQuotaCapacityExceeded() {
|
||||
return !this.state.sliders.memory.max || !this.state.sliders.cpu.max;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue