Revert "для балловой системы не выводится кнопка в результате before"
This reverts commit 3c22cc38fa74185f183327f80fdbaf2aaefffa20.
This commit is contained in:
parent
3c22cc38fa
commit
55f4ea9a49
@ -132,7 +132,6 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
mt: "15px",
|
mt: "15px",
|
||||||
gap: "10px",
|
gap: "10px",
|
||||||
textDecoration: "none",
|
textDecoration: "none",
|
||||||
mb: "5px"
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NameplateLogo
|
<NameplateLogo
|
||||||
@ -161,19 +160,14 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
p:
|
p: settings.cfg.resultInfo.showResultForm === "before" ||
|
||||||
(
|
|
||||||
settings.cfg.resultInfo.showResultForm === "before" &&
|
|
||||||
!Boolean(settings.cfg.score)
|
|
||||||
) ||
|
|
||||||
(
|
(
|
||||||
settings.cfg.resultInfo.showResultForm === "after" &&
|
settings.cfg.resultInfo.showResultForm === "after" &&
|
||||||
resultQuestion.content.redirect
|
resultQuestion.content.redirect
|
||||||
)
|
) ? "20px" : "0",
|
||||||
? "20px" : "0",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{settings.cfg.resultInfo.showResultForm === "before" && !Boolean(settings.cfg.score) && (
|
{settings.cfg.resultInfo.showResultForm === "before" && (
|
||||||
<Button
|
<Button
|
||||||
onClick={() => setCurrentQuizStep("contactform")}
|
onClick={() => setCurrentQuizStep("contactform")}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
Loading…
Reference in New Issue
Block a user