diff --git a/GUI/src/components/Flow/McqBranchSelectModal.tsx b/GUI/src/components/Flow/McqBranchSelectModal.tsx index 58f17b33a..2b191b4f4 100644 --- a/GUI/src/components/Flow/McqBranchSelectModal.tsx +++ b/GUI/src/components/Flow/McqBranchSelectModal.tsx @@ -10,14 +10,15 @@ type McqBranchSelectModalProps = { readonly emptyBranches: McqEmptyBranch[]; readonly onSelect: (branch: McqEmptyBranch) => void; readonly onClose: () => void; + readonly description?: string; }; -const McqBranchSelectModal: FC = ({ emptyBranches, onSelect, onClose }) => { +const McqBranchSelectModal: FC = ({ emptyBranches, onSelect, onClose, description }) => { const { t } = useTranslation(); return ( -

{t('serviceFlow.mcq.emptyBranchesMessage', { count: emptyBranches.length })}

+

{description ?? t('serviceFlow.mcq.emptyBranchesMessage', { count: emptyBranches.length })}

{emptyBranches.map((branch) => (