mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Improve node creator items typing and fix missing icons (#14449)
This commit is contained in:
committed by
GitHub
parent
4edb90f557
commit
ad6c83afd4
@@ -97,11 +97,7 @@ export interface NodeViewItem {
|
|||||||
text: string;
|
text: string;
|
||||||
};
|
};
|
||||||
forceIncludeNodes?: string[];
|
forceIncludeNodes?: string[];
|
||||||
iconData?: {
|
iconData?: { type: 'file'; fileBuffer: string } | { type: 'icon'; icon: string };
|
||||||
type: string;
|
|
||||||
icon?: string;
|
|
||||||
fileBuffer?: string;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
category?: string | string[];
|
category?: string | string[];
|
||||||
}
|
}
|
||||||
@@ -375,7 +371,6 @@ export function TriggerView() {
|
|||||||
description: i18n.baseText('nodeCreator.triggerHelperPanel.webhookTriggerDescription'),
|
description: i18n.baseText('nodeCreator.triggerHelperPanel.webhookTriggerDescription'),
|
||||||
iconData: {
|
iconData: {
|
||||||
type: 'file',
|
type: 'file',
|
||||||
icon: 'webhook',
|
|
||||||
fileBuffer: '/static/webhook-icon.svg',
|
fileBuffer: '/static/webhook-icon.svg',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -391,7 +386,6 @@ export function TriggerView() {
|
|||||||
description: i18n.baseText('nodeCreator.triggerHelperPanel.formTriggerDescription'),
|
description: i18n.baseText('nodeCreator.triggerHelperPanel.formTriggerDescription'),
|
||||||
iconData: {
|
iconData: {
|
||||||
type: 'file',
|
type: 'file',
|
||||||
icon: 'form',
|
|
||||||
fileBuffer: '/static/form-grey.svg',
|
fileBuffer: '/static/form-grey.svg',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user