feat: make catalog-pages dedup a choosable step in Fix alles
CI / check (push) Successful in 28s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m3s

The maintenance "Fix alles" now has a checkbox to include or skip the
duplicate catalog_pages merge, so admins can choose whether to run it.
removeDuplicates takes an includePages flag and fixEverything threads it
through to the action.
This commit is contained in:
openhands committed 2026-08-24 18:35:00 +02:00
1 parent 6dced0fb54
commit 3a292a44f1
3 files changed
+45 -11

No files matched your search

+4 -4
View File
@@ -99,12 +99,12 @@ export async function applyAlignIdsAction(): Promise<
}
}
export async function fixEverythingAction(): Promise<
ActionResult<maintenance.FixAllResult>
> {
export async function fixEverythingAction(input?: {
dedupePages?: boolean;
}): Promise<ActionResult<maintenance.FixAllResult>> {
try {
await guard();
return actionOk(await maintenance.fixEverything());
return actionOk(await maintenance.fixEverything(input ?? {}));
} catch (e) {
return handleActionError(e);
}