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()
dagreGraph.setDefaultEdgeLabel(() => ({}))
const populateInitalNodes = () => {
const populateInitialNodes = () => {
tables.forEach((table) => {
if (!table.id) return
@ -111,7 +111,7 @@ const layoutNodes = () => {
}
onBeforeMount(async () => {
populateInitalNodes()
populateInitialNodes()
populateEdges()
layoutNodes()
})

Loading…
Cancel
Save