From e1eb44f626bea6328b1d7eb02102546792e434bc Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sun, 23 Aug 2026 22:25:15 +0800 Subject: [PATCH] fix(ci): format export selection helper --- apps/desktop/src/lib/export/databaseExportSelection.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; }