mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
Co-authored-by: Simon Meng <simon.meng@portainer.io>
This commit is contained in:
parent
aa5277de2e
commit
865c8d899b
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ class KubernetesCreateConfigurationController {
|
||||||
this.state.alreadyExist = _.find(filteredConfigurations, (config) => config.Name === this.formValues.Name) !== undefined;
|
this.state.alreadyExist = _.find(filteredConfigurations, (config) => config.Name === this.formValues.Name) !== undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onResourcePoolSelectionChange() {
|
||||||
|
this.onChangeName();
|
||||||
|
}
|
||||||
|
|
||||||
isFormValid() {
|
isFormValid() {
|
||||||
const uniqueCheck = !this.state.alreadyExist && this.state.isDataValid;
|
const uniqueCheck = !this.state.alreadyExist && this.state.isDataValid;
|
||||||
if (this.formValues.IsSimple) {
|
if (this.formValues.IsSimple) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue