From c64b34edb7dc639c85695a5a62b42b314098a9ff Mon Sep 17 00:00:00 2001 From: Aleksey Razorvin <> Date: Sat, 21 Mar 2026 13:52:16 +0500 Subject: [PATCH] fix: always show activate button for non-current versions and in page header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Header: 'Сделать активной' appears when current version is not the sole active one - Versions table: button shown for all non-current versions regardless of is_active status Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/TestEdit/index.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/TestEdit/index.tsx b/frontend/src/pages/TestEdit/index.tsx index 252ff53..9bca277 100644 --- a/frontend/src/pages/TestEdit/index.tsx +++ b/frontend/src/pages/TestEdit/index.tsx @@ -117,6 +117,14 @@ export default function TestEdit() { К списку тестов + {versions.length > 1 && (!test.is_active || versions.some(v => v.id !== test.id && v.is_active)) && ( + + )} )} - {!record.is_active && ( + {record.id !== test.id && (