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;
|
||||
};
|
||||
forceIncludeNodes?: string[];
|
||||
iconData?: {
|
||||
type: string;
|
||||
icon?: string;
|
||||
fileBuffer?: string;
|
||||
};
|
||||
iconData?: { type: 'file'; fileBuffer: string } | { type: 'icon'; icon: string };
|
||||
};
|
||||
category?: string | string[];
|
||||
}
|
||||
@@ -375,7 +371,6 @@ export function TriggerView() {
|
||||
description: i18n.baseText('nodeCreator.triggerHelperPanel.webhookTriggerDescription'),
|
||||
iconData: {
|
||||
type: 'file',
|
||||
icon: 'webhook',
|
||||
fileBuffer: '/static/webhook-icon.svg',
|
||||
},
|
||||
},
|
||||
@@ -391,7 +386,6 @@ export function TriggerView() {
|
||||
description: i18n.baseText('nodeCreator.triggerHelperPanel.formTriggerDescription'),
|
||||
iconData: {
|
||||
type: 'file',
|
||||
icon: 'form',
|
||||
fileBuffer: '/static/form-grey.svg',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user