fix: Fix credential setup for templates with unnamed credentials (no-changelog) (#7891)

The template credentials were matched before solely based on the
credential name on the template. This fixes the matching to use both
credential type name and credential name.
This commit is contained in:
Tomi Turtiainen
2023-12-01 14:56:51 +02:00
committed by GitHub
parent bcd04981ef
commit f8e93b3852
8 changed files with 249 additions and 71 deletions

View File

@@ -120,11 +120,10 @@ onMounted(async () => {
<ol v-if="isReady" :class="$style.appCredentialsContainer">
<SetupTemplateFormStep
:class="$style.appCredential"
v-bind:key="credentials.credentialName"
:key="credentials.key"
v-for="(credentials, index) in setupTemplateStore.credentialUsages"
:order="index + 1"
:credentials="credentials"
:credentialName="credentials.credentialName"
/>
</ol>
<div v-else :class="$style.appCredentialsContainer">