Custom add and create flow polish

This commit is contained in:
adilallo
2026-05-08 20:32:24 -06:00
parent 26bcd61ea3
commit 026a1e6d71
68 changed files with 6208 additions and 527 deletions
+5 -1
View File
@@ -153,7 +153,11 @@ export function buildPublishPayload(
const methodSelections = buildMethodSelectionsForDocument(state);
if (hasAnyMethodSelection(methodSelections)) {
sections = replaceMethodSectionsWithMethodSelections(sections, methodSelections);
sections = replaceMethodSectionsWithMethodSelections(
sections,
methodSelections,
state.customMethodCardFieldBlocksById,
);
}
const document: Record<string, unknown> = { sections, coreValues };