Browse Source

feat(nc-gui): Fixed typo

pull/3612/head
Muhammed Mustafa 2 years ago
parent
commit
7d16074b22
  1. 4
      packages/nc-gui/components/erd/View.vue

4
packages/nc-gui/components/erd/View.vue

@ -25,7 +25,7 @@ const edges = ref<Edge[]>([])
const dagreGraph = new dagre.graphlib.Graph() const dagreGraph = new dagre.graphlib.Graph()
dagreGraph.setDefaultEdgeLabel(() => ({})) dagreGraph.setDefaultEdgeLabel(() => ({}))
const populateInitalNodes = () => { const populateInitialNodes = () => {
tables.forEach((table) => { tables.forEach((table) => {
if (!table.id) return if (!table.id) return
@ -111,7 +111,7 @@ const layoutNodes = () => {
} }
onBeforeMount(async () => { onBeforeMount(async () => {
populateInitalNodes() populateInitialNodes()
populateEdges() populateEdges()
layoutNodes() layoutNodes()
}) })

Loading…
Cancel
Save