2 Commits

Author SHA1 Message Date
primakov 9f5a236c7c 1.1.0
platform/bro-js/challenge-pl/pipeline/head There was a failure building this commit
2025-12-13 19:30:01 +03:00
primakov dac2ba4078 Update task progress display in MainPage component to remove total task count from the string. This simplifies the information presented to the user while maintaining clarity on the current task index.
platform/bro-js/challenge-pl/pipeline/head There was a failure building this commit
2025-12-13 19:28:55 +03:00
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "challenge",
"version": "1.0.0",
"version": "1.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "challenge",
"version": "1.0.0",
"version": "1.1.0",
"license": "ISC",
"dependencies": {
"@brojs/cli": "^1.9.4",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "challenge",
"version": "1.0.0",
"version": "1.1.0",
"description": "",
"main": "./src/index.tsx",
"scripts": {
+1 -1
View File
@@ -165,7 +165,7 @@ export const MainPage = () => {
)
}
const taskProgress = `Задание ${selectedChain.tasks.findIndex(t => t.id === selectedTask?.id) + 1} из ${selectedChain.tasks.length}`
const taskProgress = `Задание ${selectedChain.tasks.findIndex(t => t.id === selectedTask?.id) + 1}` // из ${selectedChain.tasks.length}`
// Показываем выбранную цепочку и задания
return (