feat(xugu): expose public synonyms in an isolated scope
This commit is contained in:
1 parent
ab46f3fc72
commit
ea9a27ce11
11 files changed
+678
-39
No files matched your search
@@ -1226,7 +1226,7 @@ function findDatabaseNode(nodes: TreeNode[], connId: string, database: string):
|
||||
|
||||
function findSchemaNode(nodes: TreeNode[], connId: string, database: string, schema: string): TreeNode | null {
|
||||
for (const node of nodes) {
|
||||
if (node.type === "schema" && node.connectionId === connId && sameTreeName(node.database, database) && sameTreeName(node.label, schema)) {
|
||||
if (node.type === "schema" && node.connectionId === connId && sameTreeName(node.database, database) && sameTreeName(node.schema || node.label, schema)) {
|
||||
return node;
|
||||
}
|
||||
if (node.children) {
|
||||
|
||||
Reference in new issue
Block a user