fix: show activate button in table row for current inactive version

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Aleksey Razorvin
2026-03-21 13:54:00 +05:00
parent c64b34edb7
commit 8097672917
+1 -1
View File
@@ -235,7 +235,7 @@ export default function TestEdit() {
Открыть
</Button>
)}
{record.id !== test.id && (
{(record.id !== test.id || !record.is_active) && (
<Button
size="small"
type={record.is_active ? 'default' : 'primary'}