6.4.12: Навигация назад по стеку после создания
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m4s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
poignatov
2026-03-09 21:42:18 +03:00
parent c9a8b994eb
commit 17e6bbf9f1
4 changed files with 7 additions and 11 deletions

View File

@@ -712,12 +712,8 @@ function WishlistForm({ onNavigate, wishlistId, editConditionIndex, newTaskId, b
}
resetForm()
// Возвращаемся на доску, если она была указана
if (boardId) {
onNavigate?.('wishlist', { boardId })
} else {
onNavigate?.('wishlist')
}
// Возврат назад по стеку истории
window.history.back()
} catch (err) {
setError(err.message)
} finally {