Compare commits

...

1 Commits

Author SHA1 Message Date
Simon Meng
9f9896a28a fix(frontend): revalidate configuration name when change resource pool (#4553) 2020-12-04 16:34:42 +13:00

View File

@@ -25,6 +25,10 @@ class KubernetesCreateConfigurationController {
this.state.alreadyExist = _.find(filteredConfigurations, (config) => config.Name === this.formValues.Name) !== undefined;
}
onResourcePoolSelectionChange() {
this.onChangeName();
}
isFormValid() {
const uniqueCheck = !this.state.alreadyExist && this.state.isDataValid;
if (this.formValues.IsSimple) {