diff --git a/lib/guides/mutations.ts b/lib/guides/mutations.ts index c4ffebe..be7ad33 100644 --- a/lib/guides/mutations.ts +++ b/lib/guides/mutations.ts @@ -339,7 +339,7 @@ export async function saveExtraSection( const updated = await advanceGuideVersion(tx, guideId, data.expectedVersion, false, `extra:${sectionId}`, details); await tx .update(guideSections) - .set({ title: data.section.title }) + .set({ title: data.section.title, enabled: true }) .where(eq(guideSections.id, sectionId)); await tx.delete(extraSectionRows).where(eq(extraSectionRows.sectionId, sectionId)); if (data.section.rows.length) {