mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
fix(k8s-config): check for config editor change before setting as dirty
This commit is contained in:
parent
47d462f085
commit
5618794927
1 changed files with 4 additions and 2 deletions
|
@ -43,8 +43,10 @@ class KubernetesConfigurationDataController {
|
|||
}
|
||||
|
||||
async editorUpdateAsync(cm) {
|
||||
this.formValues.DataYaml = cm.getValue();
|
||||
this.isEditorDirty = true;
|
||||
if (this.formValues.DataYaml !== cm.getValue()) {
|
||||
this.formValues.DataYaml = cm.getValue();
|
||||
this.isEditorDirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
editorUpdate(cm) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue