From b47d50f51cf17d3b2136cf38bbce16ccbe7a0fbc Mon Sep 17 00:00:00 2001 From: poignatov Date: Mon, 9 Mar 2026 21:10:02 +0300 Subject: [PATCH] =?UTF-8?q?6.4.10:=20=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D1=8F=20=D0=B4=D0=B8=D0=B0?= =?UTF-8?q?=D0=BB=D0=BE=D0=B3=D0=B0=20=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=BF=D1=80=D0=B8=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B8=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- play-life-web/package.json | 2 +- play-life-web/src/components/WishlistDetail.jsx | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) 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) => {