Skip to content

Commit a811680

Browse files
chore(j-s): Hide the resend indictment button (#15994)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent f257ea7 commit a811680

File tree

1 file changed

+9
-4
lines changed
  • apps/judicial-system/web/src/routes/Court/Indictments/Overview

1 file changed

+9
-4
lines changed

apps/judicial-system/web/src/routes/Court/Indictments/Overview/Overview.tsx

+9-4
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,15 @@ const IndictmentOverview = () => {
141141
)
142142
}
143143
nextButtonText={formatMessage(core.continue)}
144-
actionButtonText={formatMessage(strings.returnIndictmentButtonText)}
145-
actionButtonColorScheme={'destructive'}
146-
actionButtonIsDisabled={!caseHasBeenReceivedByCourt}
147-
onActionButtonClick={() => setModalVisible('RETURN_INDICTMENT')}
144+
/*
145+
The return indictment feature has been removed for the time being but
146+
we want to hold on to the functionality for now, since we are likely
147+
to change this feature in the future.
148+
*/
149+
// actionButtonText={formatMessage(strings.returnIndictmentButtonText)}
150+
// actionButtonColorScheme={'destructive'}
151+
// actionButtonIsDisabled={!caseHasBeenReceivedByCourt}
152+
// onActionButtonClick={() => setModalVisible('RETURN_INDICTMENT')}
148153
/>
149154
</FormContentContainer>
150155
{modalVisible === 'RETURN_INDICTMENT' && (

0 commit comments

Comments
 (0)