fix: очистка формы после добавления задачи (v3.1.2)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s

This commit is contained in:
poignatov
2026-01-06 15:02:55 +03:00
parent 7df258da15
commit 9e5790f70e
3 changed files with 5 additions and 2 deletions

View File

@@ -1 +1 @@
3.1.1
3.1.2

View File

@@ -1,6 +1,6 @@
{
"name": "play-life-web",
"version": "3.1.1",
"version": "3.1.2",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -455,6 +455,9 @@ function TaskForm({ onNavigate, taskId }) {
throw new Error(errorMessage)
}
// Очищаем форму после успешного сохранения
resetForm()
// Возвращаемся к списку задач
onNavigate?.('tasks')
} catch (err) {