Skip to content

Commit

Permalink
Merge pull request #61 from devjack/feature/workshop_schedule_sync
Browse files Browse the repository at this point in the history
Updates rooms in schedule syncing to support workshops. Talks with no…
  • Loading branch information
devjack authored Oct 30, 2024
2 parents abb0f48 + affafa2 commit 8eea77b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/ProseList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ let { items } = Astro.props as Props
---

{
items.length === 1 ? (
items.length === 0 ? (
""
) : items.length === 1 ? (
items[0]
) : items.length === 2 ? (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/program/[sessionId]-[variant].png.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function GET({

export async function getStaticPaths(): Promise<{ params: Params }[]> {
const pages = await getCollection("sessions")
return pages.flatMap((entry) =>
return pages.filter((entry) => entry.data.speakers.length > 0 && entry.data.room !== null).flatMap((entry) =>
["og", "social"].map((variant) => ({
params: {
sessionId: entry.id,
Expand Down

0 comments on commit 8eea77b

Please sign in to comment.