diff --git a/frontend/src/components/Board/Settings/index.tsx b/frontend/src/components/Board/Settings/index.tsx index e8d8df186..e8a482144 100644 --- a/frontend/src/components/Board/Settings/index.tsx +++ b/frontend/src/components/Board/Settings/index.tsx @@ -45,6 +45,7 @@ type Props = { isStakeholderOrAdmin?: boolean | undefined; isOwner?: boolean | undefined; isSAdmin?: boolean | undefined; + isResponsible: boolean; }; const BoardSettings = ({ @@ -53,7 +54,8 @@ const BoardSettings = ({ socketId, isStakeholderOrAdmin, isOwner, - isSAdmin + isSAdmin, + isResponsible }: Props) => { // Recoil State used on [boardId].tsx const { board } = useRecoilValue(boardInfoState); @@ -325,116 +327,125 @@ const BoardSettings = ({ - {board.isSubBoard && (isStakeholderOrAdmin || isOwner || isSAdmin) && ( - - - - Team Responsible - - - - - - - + + + Team Responsible + + + + + + - - Responsible Lottery - - - - + Responsible Lottery + + - - - {!responsible - ? 'Responsible not found!' - : `${responsible?.firstName} ${responsible?.lastName}`} - - - - - - - - - )} + + + + + + {!responsible + ? 'Responsible not found!' + : `${responsible?.firstName} ${responsible?.lastName}`} + + + + + + + + + )}