mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix: Prevent workflow breaking when credential type is unknown (#6923)
This commit is contained in:
@@ -91,7 +91,7 @@ export default defineComponent({
|
||||
currentUser(): IUser | null {
|
||||
return this.usersStore.currentUser;
|
||||
},
|
||||
credentialType(): ICredentialType {
|
||||
credentialType(): ICredentialType | undefined {
|
||||
return this.credentialsStore.getCredentialTypeByName(this.data.type);
|
||||
},
|
||||
credentialPermissions(): IPermissions | null {
|
||||
|
||||
Reference in New Issue
Block a user