fix(guides) : enable extra section on save
CI / Verify (push) Successful in 2m4s
CI / Build immutable images and deploy (push) Successful in 2m57s

This commit is contained in:
2026-09-23 17:14:35 +07:00 Unverified
parent 80d12a2dd8
commit a4a4c27039
+1 -1
View File
@@ -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) {