mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Fix credential icon for old node type version (#7843)
If a credential was for a node's older version, its icon was not shown.
This commit is contained in:
@@ -1310,12 +1310,14 @@ export interface ISettingsState {
|
||||
saveManualExecutions: boolean;
|
||||
}
|
||||
|
||||
export interface INodeTypesState {
|
||||
nodeTypes: {
|
||||
[nodeType: string]: {
|
||||
[version: number]: INodeTypeDescription;
|
||||
};
|
||||
export type NodeTypesByTypeNameAndVersion = {
|
||||
[nodeType: string]: {
|
||||
[version: number]: INodeTypeDescription;
|
||||
};
|
||||
};
|
||||
|
||||
export interface INodeTypesState {
|
||||
nodeTypes: NodeTypesByTypeNameAndVersion;
|
||||
}
|
||||
|
||||
export interface ITemplateState {
|
||||
|
||||
Reference in New Issue
Block a user