diff --git a/apps/web/src/components/InternInfo/InternInfo.tsx b/apps/web/src/components/InternInfo/InternInfo.tsx index 56c77788..7dd227e0 100644 --- a/apps/web/src/components/InternInfo/InternInfo.tsx +++ b/apps/web/src/components/InternInfo/InternInfo.tsx @@ -139,6 +139,14 @@ const InternInfo = ({ intern }: InternInfoProps) => { intern.interviewSlot?.answers.map((item: Answer) => { if (!item.value) return null; + if ( + !intern?.internDisciplines?.some( + (discipline) => discipline.discipline === 'Marketing', + ) && + item.id.includes('mark') + ) + return null; + return (
{ (a.type === QuestionType.Slider && a.category === QuestionCategory.Final) || (a.type === QuestionType.Slider && - a.category === QuestionCategory.Marketing), + a.category === QuestionCategory.Marketing && + intern?.internDisciplines?.some( + (discipline) => discipline.discipline === 'Marketing', + )), ) .reduce((acc, curr) => acc + +curr.value, 0);