Skip to content

Close Warrant button#534

Open
sxetikos wants to merge 4 commits intoProject-Sloth:mainfrom
sxetikos:main
Open

Close Warrant button#534
sxetikos wants to merge 4 commits intoProject-Sloth:mainfrom
sxetikos:main

Conversation

@sxetikos
Copy link
Copy Markdown

The ‘Close Warrant’ button was missing after issuing one.

Added onCloseWarrant? to the Props interface and destructured it

The "Issue Warrant" button now conditionally switches: when suspect.warrantActive is true and onCloseWarrant is provided, it shows a "Close Warrant" button instead

Added matching red styling for the close-warrant button
Check for active warrants before allowing new entries and reactivate expired warrants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant