fixed loading tables with maby FKs

This commit is contained in:
Jan Prochazka
2020-04-30 21:47:40 +02:00
parent c9a0dfcb53
commit 17134552ce
3 changed files with 15 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ export interface GridConfig extends GridConfigColumns {
export interface GridCache {
tables: { [uniqueName: string]: TableInfo };
loadingTables: { schemaName: string; pureName: string }[];
refreshTime: number;
}
@@ -35,6 +36,7 @@ export function createGridConfig(): GridConfig {
export function createGridCache(): GridCache {
return {
tables: {},
loadingTables: [],
refreshTime: new Date().getTime(),
};
}