add logic to icon name
This commit is contained in:
parent
c99e67110a
commit
9d2ffc130d
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ export default function GenericNode({
|
||||||
<span className="text-lg">{data?.node?.icon}</span>
|
<span className="text-lg">{data?.node?.icon}</span>
|
||||||
) : (
|
) : (
|
||||||
<IconComponent
|
<IconComponent
|
||||||
name={data.node?.flow ? "group_components" : name}
|
name={data?.node?.icon ? data?.node?.icon : name}
|
||||||
className={
|
className={
|
||||||
"generic-node-icon " +
|
"generic-node-icon " +
|
||||||
(!showNode ? "absolute inset-x-6 h-12 w-12" : "")
|
(!showNode ? "absolute inset-x-6 h-12 w-12" : "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue