Refactor: Remove blank space when node has no description
This commit is contained in:
parent
374ae22563
commit
e38b904af2
1 changed files with 3 additions and 1 deletions
|
|
@ -159,7 +159,9 @@ export default function GenericNode({
|
|||
</div>
|
||||
|
||||
<div className="generic-node-desc">
|
||||
<div className="generic-node-desc-text">{data.node?.description}</div>
|
||||
{data.node?.description !== "" && (
|
||||
<div className="generic-node-desc-text">{data.node?.description}</div>
|
||||
)}
|
||||
|
||||
<>
|
||||
{Object.keys(data.node!.template)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue