Fix client only issue with CanvasNode group label
This commit is contained in:
parent
2a02c22b91
commit
d0a9a02c23
|
|
@ -65,8 +65,8 @@ if(props.node.color !== undefined)
|
|||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<div v-if="node.type === 'group' && node.label !== undefined" class="canvas-group-label"
|
||||
<ClientOnly><div v-if="node.type === 'group' && node.label !== undefined" class="canvas-group-label"
|
||||
:class="{ 'mod-foreground-dark': darken(getColor(props.node?.color ?? '')), 'mod-foreground-light': !darken(getColor(props.node?.color ?? ''))}">
|
||||
{{ node.label }}</div>
|
||||
{{ node.label }}</div></ClientOnly>
|
||||
</div>
|
||||
</template>
|
||||
Loading…
Reference in New Issue