mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
🐛 Fix importing unknown types with credentials (#2414)
This commit is contained in:
@@ -98,7 +98,7 @@ const module: Module<ICredentialsState, IRootState> = {
|
|||||||
},
|
},
|
||||||
getCredentialsByType: (state: ICredentialsState, getters: any) => { // tslint:disable-line:no-any
|
getCredentialsByType: (state: ICredentialsState, getters: any) => { // tslint:disable-line:no-any
|
||||||
return (credentialType: string): ICredentialsResponse[] => {
|
return (credentialType: string): ICredentialsResponse[] => {
|
||||||
return getters.allCredentialsByType[credentialType];
|
return getters.allCredentialsByType[credentialType] || [];
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
getNodesWithAccess (state: ICredentialsState, getters: any, rootState: IRootState, rootGetters: any) { // tslint:disable-line:no-any
|
getNodesWithAccess (state: ICredentialsState, getters: any, rootState: IRootState, rootGetters: any) { // tslint:disable-line:no-any
|
||||||
|
|||||||
Reference in New Issue
Block a user