From f52792921fcbc1c094ac76afc014a94be10145b0 Mon Sep 17 00:00:00 2001 From: Shireen Missi Date: Thu, 31 Oct 2024 17:44:08 +0000 Subject: [PATCH] show save button when first time opening credetionals --- .../src/components/CredentialEdit/CredentialEdit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue index efbde8d1fb..98f66ee1af 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 { />