fix: load sql collection with source field (#3456)

* chore: load view

* chore: load sql collection
This commit is contained in:
ChengLei Shao 2024-01-29 16:40:57 +08:00 committed by GitHub
parent 1cad202745
commit 535d14b0bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ export class CollectionRepository extends Repository {
// set all graph nodes
for (const instance of instances) {
graph.setNode(instance.get('name'));
if (instance.get('view')) {
if (instance.get('view') || instance.get('sql')) {
viewCollections.push(instance.get('name'));
}
}