-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always fetch database list on bootstrap payload (#11934)
There was this weird bug happening only when `SQLLAB_BACKEND_PERSISTENCE = False` where if no database had been selected, there would be some issue. This makes sure that the store is populated consistently with the list of database connections regardless of `SQLLAB_BACKEND_PERSISTENCE`. It also uses the DAO to fetch database and will apply the RBAC-related filters if any, the same way that the API does.
- Loading branch information
1 parent
cc44a2c
commit 150c8e3
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters