Skip to content

Commit

Permalink
patch: COS-6980 Add ability to archive contract in all states (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasia9090 authored Feb 28, 2025
1 parent bba2a23 commit e06fe63
Showing 1 changed file with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,17 @@ export const ContractMenu = ({
</MenuItem>
</>
)}
{status == ContractStatus.Draft && (
<MenuItem
className='group'
data-test='contract-menu-delete-contract'
onClick={() => onStatusModalOpen(ContractStatusModalMode.Delete)}
>
<Icon
name='trash-01'
className='text-grayModern-500 group-hover:text-grayModern-700'
/>
Delete contract
</MenuItem>
)}
<MenuItem
className='group'
data-test='contract-menu-delete-contract'
onClick={() => onStatusModalOpen(ContractStatusModalMode.Delete)}
>
<Icon
name='trash-01'
className='text-grayModern-500 group-hover:text-grayModern-700'
/>
Archive contract
</MenuItem>
</MenuList>
</Menu>
</>
Expand Down

0 comments on commit e06fe63

Please sign in to comment.