исправлена ошибка в поиске результата, изменена вертка ФК
This commit is contained in:
parent
15431912ae
commit
fac59c4986
@ -113,7 +113,9 @@ export const ContactForm = ({
|
|||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
width: "800px"
|
width: "530px",
|
||||||
|
borderRadius: "4px",
|
||||||
|
boxShadow: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
||||||
@ -144,7 +146,7 @@ export const ContactForm = ({
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|
||||||
<Paper
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
@ -236,7 +238,7 @@ export const ContactForm = ({
|
|||||||
Сделано на Penasettings
|
Сделано на Penasettings
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Paper>
|
</Box>
|
||||||
</Box >
|
</Box >
|
||||||
</Box >
|
</Box >
|
||||||
);
|
);
|
||||||
|
@ -173,8 +173,11 @@ export const Footer = ({ setCurrentQuestion, question, setShowContactForm, setSh
|
|||||||
console.log("ничё не нашли, ищем резулт ")
|
console.log("ничё не нашли, ищем резулт ")
|
||||||
return items.find(q => {
|
return items.find(q => {
|
||||||
console.log('q.type === "result"', q.type === "result")
|
console.log('q.type === "result"', q.type === "result")
|
||||||
console.log('q.content.rule.parentId === question.content.id', q.content.rule.parentId === question.id)
|
console.log('q.content.rule.parentId', q.content.rule.parentId)
|
||||||
return q.type === "result" && q.content.rule.parentId === question.id
|
//@ts-ignore
|
||||||
|
console.log('question.content.id', question.content.id)
|
||||||
|
//@ts-ignore
|
||||||
|
return q.type === "result" && q.content.rule.parentId === question.content.id
|
||||||
})?.id
|
})?.id
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user