Skip to content

Commit

Permalink
fix(editor): Fix icon for unknown node type (#7842)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi authored and netroy committed Nov 29, 2023
1 parent 8a71178 commit 9cd0a75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,11 @@ Hoverable.args = {
nodeTypeName: 'We ❤️ n8n',
showTooltip: true,
};

export const Unknown = DefaultTemplate.bind({});
Unknown.args = {
type: 'unknown',
nodeTypeName: '',
size: 40,
color: 'red',
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
</div>
<div v-else :class="$style.nodeIconPlaceholder">
{{ nodeTypeName ? nodeTypeName.charAt(0) : '?' }}
?
</div>
</n8n-tooltip>
<template v-else>
Expand All @@ -30,7 +29,6 @@
</div>
<div v-else :class="$style.nodeIconPlaceholder">
{{ nodeTypeName ? nodeTypeName.charAt(0) : '?' }}
?
</div>
</template>
</div>
Expand Down

0 comments on commit 9cd0a75

Please sign in to comment.