Merge branch 'dev' into 'staging'

Dev

See merge request frontend/squiz!386
This commit is contained in:
Nastya 2024-12-22 12:36:46 +00:00 committed by skeris
commit 19c1332ad9
3 changed files with 21 additions and 3 deletions

@ -9,7 +9,7 @@ RUN npm config set -- //penahub.gitlab.yandexcloud.net/api/v4/projects/43/packag
RUN npm config set @frontend:registry https://penahub.gitlab.yandexcloud.net/api/v4/packages/npm/
RUN yarn config set '//penahub.gitlab.yandexcloud.net/api/v4/packages/npm/:_authToken' "glpat-JL_7wSM1QpW7xGfd-oWX"
RUN yarn config set '//penahub.gitlab.yandexcloud.net/api/v4/projects/:_authToken' "glpat-JL_7wSM1QpW7xGfd-oWX"
RUN yarn install --ignore-scripts --non-interactive --frozen-lockfile && yarn cache clean
RUN yarn install --ignore-scripts --non-interactive && yarn cache clean
RUN yarn build

@ -6,8 +6,8 @@
"@craco/craco": "^7.0.0",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@frontend/kitui": "^1.0.85",
"@frontend/squzanswerer": "^1.0.56",
"@frontend/kitui": "^1.0.86",
"@frontend/squzanswerer": "^1.0.57",
"@mui/icons-material": "^5.10.14",
"@mui/material": "^5.10.14",
"@mui/x-charts": "^6.19.5",

@ -854,6 +854,24 @@ export default function StartPageSettings() {
Включить антифрод
</Typography>
</Box>
<Box sx={{ display: "flex", gap: "20px", alignItems: "center", mt: "20px" }}>
<CustomizedSwitch
checked={quiz.config?.isUnSc}
onChange={(e) => {
updateQuiz(quiz.id, (quiz) => {
quiz.config.isUnSc = e.target.checked;
});
}}
/>
<Typography
sx={{
fontWeight: 500,
color: theme.palette.grey3.main,
}}
>
Включить защиту от копирования
</Typography>
</Box>
</>
)}
</Box>