Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ -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'}