Skip to content

Commit

Permalink
Merge branch 'linear-topic-page-toc' into entry-emulator-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Oct 28, 2023
2 parents dbf7b45 + f034924 commit d4ba7a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions db/model/Gdoc/archieToEnriched.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ function generateToc(
})
}
}
if (child.type === "all-charts") {
toc.push({
title: child.heading,
text: child.heading,
slug: ALL_CHARTS_ID,
isSubheading: false,
})
}
})
)

Expand Down

0 comments on commit d4ba7a0

Please sign in to comment.