Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

add default val to includeDependencies in getDiagram (#278)

Guy Ben-Aharon3616e53183b5
diff --git a/src/context/storage-context/storage-provider.tsx b/src/context/storage-context/storage-provider.tsx
index ea318f0f..7d52563b 100644
--- a/src/context/storage-context/storage-provider.tsx
+++ b/src/context/storage-context/storage-provider.tsx
@@ -235,7 +235,11 @@ export const StorageProvider: React.FC<React.PropsWithChildren> = ({
includeTables?: boolean;
includeRelationships?: boolean;
includeDependencies?: boolean;
- } = { includeRelationships: false, includeTables: false }
+ } = {
+ includeRelationships: false,
+ includeTables: false,
+ includeDependencies: false,
+ }
): Promise<Diagram | undefined> => {
const diagram = await db.diagrams.get(id);