Skip to content

Commit

Permalink
feature(frontend): enabling first attribute check deletion (#2699)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Jun 9, 2023
1 parent 5718bd4 commit 342564c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions web/src/components/TestSpecForm/AssertionCheck.tsx
Expand Up @@ -115,14 +115,12 @@ export const AssertionCheck = ({
/>
</S.FieldsContainer>
<S.ActionContainer>
{index !== 0 && (
<S.DeleteCheckIcon
onClick={() => {
CreateAssertionModalAnalyticsService.onRemoveCheck();
remove(name);
}}
/>
)}
<S.DeleteCheckIcon
onClick={() => {
CreateAssertionModalAnalyticsService.onRemoveCheck();
remove(name);
}}
/>
</S.ActionContainer>
</S.Container>
);
Expand Down

0 comments on commit 342564c

Please sign in to comment.