mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
1a94222262
commit
d4bd6e03c9
@ -1,5 +1,7 @@
|
|||||||
# ChangeLog
|
# ChangeLog
|
||||||
|
|
||||||
|
### 4.0.3
|
||||||
|
- FIX: fixes for FireFox (mainly incorrent handle of bind:clientHeight, replaces with resizeobserver)
|
||||||
### 4.0.2
|
### 4.0.2
|
||||||
- FIX: fixed docker and NPM build
|
- FIX: fixed docker and NPM build
|
||||||
### 4.0.0
|
### 4.0.0
|
||||||
|
@ -2,7 +2,7 @@ import { DatabaseInfo } from 'dbgate-types';
|
|||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
|
||||||
export function addTableDependencies(db: DatabaseInfo): DatabaseInfo {
|
export function addTableDependencies(db: DatabaseInfo): DatabaseInfo {
|
||||||
const allForeignKeys = _.flatten(db.tables.map(x => x.foreignKeys));
|
const allForeignKeys = _.flatten(db.tables.map(x => x.foreignKeys || []));
|
||||||
return {
|
return {
|
||||||
...db,
|
...db,
|
||||||
tables: db.tables.map(table => ({
|
tables: db.tables.map(table => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user