From 2c8dad08f6fe4bf5c6858ff28286d9c8beff7503 Mon Sep 17 00:00:00 2001 From: claude Date: Wed, 10 Jun 2026 08:30:34 +0000 Subject: [PATCH] project-list: show plain 'Quarto' badge when quartoFlavor is unset Existing projects have no quartoFlavor value in the database (new field), so defaulting to 'Quarto PDF' incorrectly labelled all of them. Show the plain 'Quarto' label until the first compile sets the flavor. Co-Authored-By: Claude Sonnet 4.6 --- .../project-list/components/table/cells/format-cell.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/project-list/components/table/cells/format-cell.tsx b/services/web/frontend/js/features/project-list/components/table/cells/format-cell.tsx index 604c3323de..f482b57562 100644 --- a/services/web/frontend/js/features/project-list/components/table/cells/format-cell.tsx +++ b/services/web/frontend/js/features/project-list/components/table/cells/format-cell.tsx @@ -16,7 +16,10 @@ function formatLabel( if (quartoFlavor === 'revealjs') { return { label: 'Quarto Slides', variant: 'quarto-slides' } } - return { label: 'Quarto PDF', variant: 'quarto' } + if (quartoFlavor === 'pdf') { + return { label: 'Quarto PDF', variant: 'quarto' } + } + return { label: 'Quarto', variant: 'quarto' } case 'typst': return { label: 'Typst', variant: 'typst' } default: