mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(editor): Fix icon for unknown node type (#7842)
This commit is contained in:
parent
2f8cb419df
commit
28ac5a750e
|
@ -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',
|
||||
};
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
</div>
|
||||
<div v-else :class="$style.nodeIconPlaceholder">
|
||||
{{ nodeTypeName ? nodeTypeName.charAt(0) : '?' }}
|
||||
?
|
||||
</div>
|
||||
</n8n-tooltip>
|
||||
<template v-else>
|
||||
|
@ -30,7 +29,6 @@
|
|||
</div>
|
||||
<div v-else :class="$style.nodeIconPlaceholder">
|
||||
{{ nodeTypeName ? nodeTypeName.charAt(0) : '?' }}
|
||||
?
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue