File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed
targets/frontend/src/modules/agreements/components/Edition Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -114,16 +114,19 @@ export const AgreementEdition = ({ id }: Props): React.ReactElement => {
114
114
< p >
115
115
Merci de contacter l'équipe de dev sur mattermost dans les
116
116
cas suivants :
117
- < ul >
118
- < li >
119
- La convention collective a été fusionnée dans une autre
120
- convention collective.
121
- </ li >
122
- < li >
123
- Si la convention collective a été divisée en plusieurs
124
- conventions collectives
125
- </ li >
126
- </ ul >
117
+ </ p >
118
+ < ul >
119
+ < li >
120
+ La convention collective a été fusionnée dans une autre
121
+ convention collective.
122
+ </ li >
123
+ < li >
124
+ Si la convention collective a été divisée en plusieurs
125
+ conventions collectives
126
+ </ li >
127
+ </ ul >
128
+ < p >
129
+ Voulez-vous quand même la supprimer maintenant ?
127
130
</ p >
128
131
</ DialogContentText >
129
132
</ DialogContent >
@@ -136,6 +139,9 @@ export const AgreementEdition = ({ id }: Props): React.ReactElement => {
136
139
Annuler
137
140
</ Button >
138
141
< Button
142
+ variant = "contained"
143
+ type = "button"
144
+ color = "success"
139
145
onClick = { async ( ) => {
140
146
if ( data ?. id ) {
141
147
await deleteAgreement ( { id : data . id } ) ;
@@ -148,7 +154,7 @@ export const AgreementEdition = ({ id }: Props): React.ReactElement => {
148
154
} }
149
155
autoFocus
150
156
>
151
- Supprimer
157
+ Oui
152
158
</ Button >
153
159
</ DialogActions >
154
160
</ Dialog >
You can’t perform that action at this time.
0 commit comments