mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix broken types for globally defined components (no-changelog) (#16505)
Co-authored-by: Mutasem Aldmour <mutasem@n8n.io>
This commit is contained in:
@@ -119,7 +119,7 @@ const options = computed<ITab[]>(() => {
|
||||
return options;
|
||||
});
|
||||
|
||||
function onTabSelect(tab: string) {
|
||||
function onTabSelect(tab: string | number) {
|
||||
if (tab === 'docs' && props.nodeType) {
|
||||
void externalHooks.run('dataDisplay.onDocumentationUrlClick', {
|
||||
nodeType: props.nodeType,
|
||||
@@ -147,7 +147,7 @@ function onTabSelect(tab: string) {
|
||||
}
|
||||
}
|
||||
|
||||
function onTooltipClick(tab: string, event: MouseEvent) {
|
||||
function onTooltipClick(tab: string | number, event: MouseEvent) {
|
||||
if (tab === 'communityNode' && (event.target as Element).localName === 'a') {
|
||||
telemetry.track('user clicked cnr docs link', { source: 'node details view' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user