Merge branch 'dev' into 'staging'
нет мусорки для настройки ветвления у предка файл See merge request frontend/squiz!383
This commit is contained in:
commit
fd02cb59bb
@ -585,7 +585,7 @@ const TextInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQu
|
|||||||
const FileInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQuestion }: Props) => {
|
const FileInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQuestion }: Props) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const quizId = Number(useParams().quizId);
|
const quizId = Number(useParams().quizId);
|
||||||
|
console.log(parentQuestion.type)
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@ -614,7 +614,7 @@ const FileInputsType = ({ parentQuestion, targetQuestion, ruleIndex, setParentQu
|
|||||||
setParentQuestion(newParentQuestion);
|
setParentQuestion(newParentQuestion);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DeleteIcon color={"#4D4D4D"} />
|
{!(parentQuestion.type === "file") && <DeleteIcon color={"#4D4D4D"} />}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user