Add possibility to destroy a record (#9144)

There are two follow ups to this PR:
- Bug: sometimes when opening Cmd+K from a deleted record, we are facing
a global error
- On Index page, actions in top right are displaying label and not short
name
- Implement multiple actions once refactoring on delete is complete

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
This commit is contained in:
Charles Bochet
2024-12-19 17:00:30 +01:00
committed by GitHub
parent 360c34fd18
commit 1d627039c0
12 changed files with 123 additions and 10 deletions

View File

@ -117,7 +117,7 @@ const StyledButton = styled.button<
border-color: ${variant === 'secondary'
? !disabled && focus
? theme.color.blue
: theme.background.transparent.light
: theme.background.transparent.medium
: focus
? theme.color.blue
: 'transparent'};