Skip to content

Commit 342564c

Browse files
authored
feature(frontend): enabling first attribute check deletion (#2699)
1 parent 5718bd4 commit 342564c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

web/src/components/TestSpecForm/AssertionCheck.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,12 @@ export const AssertionCheck = ({
115115
/>
116116
</S.FieldsContainer>
117117
<S.ActionContainer>
118-
{index !== 0 && (
119-
<S.DeleteCheckIcon
120-
onClick={() => {
121-
CreateAssertionModalAnalyticsService.onRemoveCheck();
122-
remove(name);
123-
}}
124-
/>
125-
)}
118+
<S.DeleteCheckIcon
119+
onClick={() => {
120+
CreateAssertionModalAnalyticsService.onRemoveCheck();
121+
remove(name);
122+
}}
123+
/>
126124
</S.ActionContainer>
127125
</S.Container>
128126
);

0 commit comments

Comments
 (0)