mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
fix relational
This commit is contained in:
parent
1ba7b76072
commit
b29cece7ef
3 changed files with 26 additions and 6 deletions
|
|
@ -13,7 +13,10 @@ export function getDatabase(database, databaseType, fallback) {
|
|||
}
|
||||
|
||||
if (!type) {
|
||||
return getDatabase(fallback);
|
||||
if (fallback) {
|
||||
return getDatabase(fallback);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
return type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue