Lint fix
This commit is contained in:
parent
3526e35012
commit
3426aa8b2a
|
@ -19,7 +19,7 @@ export const labelHelper = (parent, node, _classes, isNode) => {
|
|||
// Create the label and insert it after the rect
|
||||
const label = shapeSvg.insert('g').attr('class', 'label').attr('style', node.labelStyle);
|
||||
|
||||
const labelText = typeof node.labelText === 'string' ? node.labelText:node.labelText[0];
|
||||
const labelText = typeof node.labelText === 'string' ? node.labelText : node.labelText[0];
|
||||
|
||||
const text = label
|
||||
.node()
|
||||
|
|
Loading…
Reference in New Issue