fix(k8s-config): check for config editor change before setting as dirty

pull/5079/head
Felix Han 4 years ago
parent 47d462f085
commit 5618794927

@ -43,9 +43,11 @@ class KubernetesConfigurationDataController {
}
async editorUpdateAsync(cm) {
if (this.formValues.DataYaml !== cm.getValue()) {
this.formValues.DataYaml = cm.getValue();
this.isEditorDirty = true;
}
}
editorUpdate(cm) {
return this.$async(this.editorUpdateAsync, cm);

Loading…
Cancel
Save