mirror of https://github.com/portainer/portainer
fix(k8s-config): check for config editor change before setting as dirty
parent
47d462f085
commit
5618794927
|
@ -43,8 +43,10 @@ class KubernetesConfigurationDataController {
|
||||||
}
|
}
|
||||||
|
|
||||||
async editorUpdateAsync(cm) {
|
async editorUpdateAsync(cm) {
|
||||||
this.formValues.DataYaml = cm.getValue();
|
if (this.formValues.DataYaml !== cm.getValue()) {
|
||||||
this.isEditorDirty = true;
|
this.formValues.DataYaml = cm.getValue();
|
||||||
|
this.isEditorDirty = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
editorUpdate(cm) {
|
editorUpdate(cm) {
|
||||||
|
|
Loading…
Reference in New Issue