diff --git a/web/sections/AddComponentDialog.tsx b/web/sections/AddComponentDialog.tsx index 0c3f72d..20cc6c4 100644 --- a/web/sections/AddComponentDialog.tsx +++ b/web/sections/AddComponentDialog.tsx @@ -130,7 +130,9 @@ export const AddComponentDialog = ({
- {CHOICES.filter((choice) => template || !SUBJECT_KINDS.includes(choice.kind)).map( + {/* `kind === null` is a choice that is not built yet — never a subject block, and it must not + be filtered out by a list that only knows about the ones that are. */} + {CHOICES.filter((choice) => template || choice.kind === null || !SUBJECT_KINDS.includes(choice.kind)).map( ({ kind, label, hint, Icon }) => (