fix(guides) : publish created extra sections
CI / Verify (push) Successful in 1m23s
CI / Build immutable images and deploy (push) Successful in 2m5s

This commit is contained in:
2026-09-23 17:31:20 +07:00 Unverified
parent d8d3c0b11d
commit ea12c85c21
+1
View File
@@ -335,6 +335,7 @@ async function populatedSections(guideId: string) {
or exists (select 1 from jsonb_array_elements(p.target_conditions) c where c->'rows' <> '[]'::jsonb)))
when 'constellations' then exists (select 1 from ${constellationRecommendations} r join ${constellationConditions} c on c.id = r.condition_id where c.guide_id = ${guideId})
when 'team' then exists (select 1 from ${teamCompositions} t where t.guide_id = ${guideId})
when 'extra' then true
else exists (select 1 from ${extraSectionRows} r where r.section_id = ${guideSections.id}) end`,
}).from(guideSections).where(and(
eq(guideSections.guideId, guideId),