mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 00:16:38 +00:00
chore(nc-gui): marker color
This commit is contained in:
@@ -296,8 +296,9 @@ export function useErdElements(tables: MaybeRef<TableType[]>, props: MaybeRef<ER
|
||||
const node = elements.value.find((nodes) => nodes.id === el.source)
|
||||
if (node) {
|
||||
const color = node.data!.color
|
||||
|
||||
el.data.color = color
|
||||
;(el.markerEnd as EdgeMarker).color = skeleton ? `#${tinycolor(color).toHex()}` : undefined
|
||||
;(el.markerEnd as EdgeMarker).color = `#${tinycolor(color).toHex()}`
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user