Merge branch 'staging' into 'main'

Staging

See merge request frontend/squiz!384
This commit is contained in:
Mikhail 2024-12-12 20:32:17 +00:00
commit 607c057660

@ -585,7 +585,7 @@ const TextInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQu
const FileInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQuestion }: Props) => {
const theme = useTheme();
const quizId = Number(useParams().quizId);
console.log(parentQuestion.type)
return (
<Box
sx={{
@ -614,7 +614,7 @@ const FileInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQu
setParentQuestion(newParentQuestion);
}}
>
<DeleteIcon color={"#4D4D4D"} />
{!(parentQuestion.type === "file") && <DeleteIcon color={"#4D4D4D"} />}
</IconButton>
</Box>