Browse Source

Merge pull request #1127 from nocodb/fix/blank-sql-view

fix: wrong parent node for SQL Views
pull/1131/head
navi 2 years ago committed by GitHub
parent
commit
bdf59718fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/store/tabs.js

2
packages/nc-gui/store/tabs.js

@ -171,7 +171,7 @@ export const actions = {
.list[0] // project
.children[0] // environment
.children[0] // db
.children.find(n => n.type === 'viewDir') // parent node
.children.find(n => n.type === 'tableDir') // parent node
.children.find(t => t.name === name)
break

Loading…
Cancel
Save