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:
Tomi Turtiainen
2023-11-28 15:14:22 +02:00
committed by GitHub
parent a37f1cb0ba
commit 4074107511
7 changed files with 1115 additions and 47 deletions

View File

@@ -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 {