diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue index 1afeede923..658f145ddc 100644 --- a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue +++ b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue @@ -674,6 +674,9 @@ export default defineComponent({ }, // eslint-disable-next-line @typescript-eslint/no-explicit-any onDataChange({ name, value }: { name: string; value: any }) { + // skip update if new value matches the current + if (this.credentialData[name] === value) return; + this.hasUnsavedChanges = true; const { oauthTokenData, ...credData } = this.credentialData;