diff --git a/apps/desktop/src/lib/export/databaseExportSelection.ts b/apps/desktop/src/lib/export/databaseExportSelection.ts index 15e18ec1ec..0967f119c5 100644 --- a/apps/desktop/src/lib/export/databaseExportSelection.ts +++ b/apps/desktop/src/lib/export/databaseExportSelection.ts @@ -7,12 +7,7 @@ export function buildSelectedTablesPayload(allTables: string[], selectedTables: return allTables.filter((table) => selected.has(table)); } -export function isDatabaseExportTableSelectionValid(options: { - allTableCount: number; - selectedTableCount: number; - includeStructure: boolean; - includeData: boolean; -}): boolean { +export function isDatabaseExportTableSelectionValid(options: { allTableCount: number; selectedTableCount: number; includeStructure: boolean; includeData: boolean }): boolean { if (!options.includeStructure && !options.includeData) return true; return options.allTableCount === 0 || options.selectedTableCount > 0; }