счётчик вопросов не показывается для ветвления
This commit is contained in:
parent
6fce3b3edb
commit
a229ea6f85
@ -47,14 +47,17 @@ export const Footer = ({ stepNumber, nextButton, prevButton }: FooterProps) => {
|
|||||||
{/*):(*/}
|
{/*):(*/}
|
||||||
{/* <NameplateLogoFQDark style={{ fontSize: "34px", width:"200px", height:"auto" }} />*/}
|
{/* <NameplateLogoFQDark style={{ fontSize: "34px", width:"200px", height:"auto" }} />*/}
|
||||||
{/*)}*/}
|
{/*)}*/}
|
||||||
{stepNumber !== null && (
|
{
|
||||||
<Box sx={{ flexGrow: 1 }}>
|
questions.every(({ content }) => content.rule.parentId !== "root") !== null // null when branching enabled
|
||||||
<Typography sx={{ color: theme.palette.text.primary }}>
|
&&
|
||||||
Вопрос {stepNumber} из {questionsAmount}
|
stepNumber !== null && (
|
||||||
</Typography>
|
<Box sx={{ flexGrow: 1 }}>
|
||||||
<Stepper activeStep={stepNumber} steps={questionsAmount} />
|
<Typography sx={{ color: theme.palette.text.primary }}>
|
||||||
</Box>
|
Вопрос {stepNumber} из {questionsAmount}
|
||||||
)}
|
</Typography>
|
||||||
|
<Stepper activeStep={stepNumber} steps={questionsAmount} />
|
||||||
|
</Box>
|
||||||
|
)}
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -3,7 +3,8 @@ import { useParams } from "react-router-dom";
|
|||||||
import QuizAnswerer from "../lib/components/QuizAnswerer";
|
import QuizAnswerer from "../lib/components/QuizAnswerer";
|
||||||
|
|
||||||
// const defaultQuizId = "45ef7f9c-784d-4e58-badb-f6b337f08ba0"; // branching
|
// const defaultQuizId = "45ef7f9c-784d-4e58-badb-f6b337f08ba0"; // branching
|
||||||
const defaultQuizId = "3c49550d-8c77-4788-bc2d-42586a261514"; //looooong header
|
// const defaultQuizId = "b7dafa46-a535-4beb-b289-65253d14a951"; //looooong header
|
||||||
|
const defaultQuizId = "3c49550d-8c77-4788-bc2d-42586a261514"; //тест визуала
|
||||||
// const defaultQuizId = "ad7f5a87-b833-4f5b-854e-453706ed655c"; // linear
|
// const defaultQuizId = "ad7f5a87-b833-4f5b-854e-453706ed655c"; // linear
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
|
Loading…
Reference in New Issue
Block a user