diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue index efbde8d1fbf10..8883dc53ed7f8 100644 --- a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue +++ b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue @@ -318,7 +318,7 @@ const defaultCredentialTypeName = computed(() => { const showSaveButton = computed(() => { return ( - (hasUnsavedChanges.value || !!credentialId.value) && + (hasUnsavedChanges.value || !credentialId.value) && (credentialPermissions.value.create || credentialPermissions.value.update) ); }); @@ -1064,7 +1064,7 @@ function resetCredentialData(): void { />