diff --git a/VERSION b/VERSION index a228920..b03e20c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.4.9 +6.4.10 diff --git a/play-life-web/package.json b/play-life-web/package.json index ff7ae64..949ea43 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "6.4.9", + "version": "6.4.10", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/WishlistDetail.jsx b/play-life-web/src/components/WishlistDetail.jsx index f940962..333dd9a 100644 --- a/play-life-web/src/components/WishlistDetail.jsx +++ b/play-life-web/src/components/WishlistDetail.jsx @@ -174,7 +174,13 @@ function WishlistDetail({ wishlistId, onNavigate, onRefresh, boardId, onClose, p const handleCreateTask = () => { if (!wishlistItem || !wishlistItem.unlocked || wishlistItem.completed) return + // Сначала навигация, потом закрытие диалога желания onNavigate?.('task-form', { wishlistId: wishlistId }) + // Убираем запись из истории без вызова popstate + if (historyPushedForWishlistRef.current) { + historyPushedForWishlistRef.current = false + } + onClose?.() } const handleTaskCheckmarkClick = (e) => {