fix: Prevent workflow breaking when credential type is unknown (#6923)
This commit is contained in:
@@ -109,6 +109,7 @@ export default defineComponent({
|
||||
const supported = this.getSupportedSets(this.parameter.credentialTypes);
|
||||
|
||||
const checkedCredType = this.credentialsStore.getCredentialTypeByName(name);
|
||||
if (!checkedCredType) return false;
|
||||
|
||||
for (const property of supported.has) {
|
||||
if (checkedCredType[property as keyof ICredentialType] !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user