Skip to content

Commit

Permalink
fix(Project): Fixed view and create CR at project page
Browse files Browse the repository at this point in the history
  • Loading branch information
amritkv committed Jan 15, 2025
1 parent 43784e1 commit e07f6c6
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,14 @@ export default function LicenseClearing({
variant='secondary'
className='me-2 col-auto'
onClick={ clearingState === ClearingRequestStates.OPEN ?
() => setShowViewClearingRequestModal(true) :
() => setShowCreateClearingRequestModal(true)}
disabled={clearingState === ClearingRequestStates.CLOSED}
() => setShowCreateClearingRequestModal(true) :
() => setShowViewClearingRequestModal(true)}
>
{
<>
{clearingState === ClearingRequestStates.OPEN
? t('View Clearing Request')
: t('Create Clearing Request')}
? t('Create Clearing Request')
: t('View Clearing Request')}
</>
}
</Button>
Expand Down

0 comments on commit e07f6c6

Please sign in to comment.