добавлена функция ..Запретить шаг назад..
This commit is contained in:
parent
4542ebbb6f
commit
f2cd81f29b
@ -875,6 +875,24 @@ export default function StartPageSettings() {
|
|||||||
Включить защиту от копирования
|
Включить защиту от копирования
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
<Box sx={{ display: "flex", gap: "20px", alignItems: "center", mt: "20px" }}>
|
||||||
|
<CustomizedSwitch
|
||||||
|
checked={quiz.config?.backBlocked}
|
||||||
|
onChange={(e) => {
|
||||||
|
updateQuiz(quiz.id, (quiz) => {
|
||||||
|
quiz.config.backBlocked = e.target.checked;
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
<Typography
|
||||||
|
sx={{
|
||||||
|
fontWeight: 500,
|
||||||
|
color: theme.palette.grey3.main,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Запретить шаг назад
|
||||||
|
</Typography>
|
||||||
|
</Box>
|
||||||
{!isSmallMonitor &&<SwitchAI />}
|
{!isSmallMonitor &&<SwitchAI />}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user