From b85b85a27fb11873c7300313941fb08f7c307e90 Mon Sep 17 00:00:00 2001 From: poignatov Date: Sun, 15 Mar 2026 18:04:54 +0300 Subject: [PATCH] =?UTF-8?q?6.17.4:=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=D1=8D=D0=BA=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B0=20=D0=B7=D0=B0=D0=BA=D1=83=D0=BF=D0=BA=D0=B8?= =?UTF-8?q?=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20history.back?= 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/PurchaseScreen.jsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 83aa95a..89b71fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.17.3 +6.17.4 diff --git a/play-life-web/package.json b/play-life-web/package.json index 1424784..678e43f 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "6.17.3", + "version": "6.17.4", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/PurchaseScreen.jsx b/play-life-web/src/components/PurchaseScreen.jsx index 5d6f80d..6570192 100644 --- a/play-life-web/src/components/PurchaseScreen.jsx +++ b/play-life-web/src/components/PurchaseScreen.jsx @@ -97,7 +97,7 @@ function PurchaseScreen({ onNavigate, purchaseConfigId, taskId, taskName }) { } const handleClose = () => { - onNavigate?.('tasks') + window.history.back() } const handleCompleteTask = async () => { @@ -110,7 +110,7 @@ function PurchaseScreen({ onNavigate, purchaseConfigId, taskId, taskName }) { body: JSON.stringify({}) }) if (response.ok) { - setTimeout(() => onNavigate?.('tasks'), 500) + setTimeout(() => window.history.back(), 500) return } else { const errorData = await response.json().catch(() => ({}))