Skip to content

Commit

Permalink
Hide the resent button
Browse files Browse the repository at this point in the history
  • Loading branch information
oddsson committed Sep 13, 2024
1 parent b484a25 commit 7ad2275
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,15 @@ const IndictmentOverview = () => {
)
}
nextButtonText={formatMessage(core.continue)}
actionButtonText={formatMessage(strings.returnIndictmentButtonText)}
actionButtonColorScheme={'destructive'}
actionButtonIsDisabled={!caseHasBeenReceivedByCourt}
onActionButtonClick={() => setModalVisible('RETURN_INDICTMENT')}
/*
The return indictment feature has been removed for the time being but
we want to hold on to the functionality for now, since we are likely
to change this feature in the future.
*/
// actionButtonText={formatMessage(strings.returnIndictmentButtonText)}
// actionButtonColorScheme={'destructive'}
// actionButtonIsDisabled={!caseHasBeenReceivedByCourt}
// onActionButtonClick={() => setModalVisible('RETURN_INDICTMENT')}
/>
</FormContentContainer>
{modalVisible === 'RETURN_INDICTMENT' && (
Expand Down

0 comments on commit 7ad2275

Please sign in to comment.