Commit 1c208eb
committed
Fix follow-up requested consent label in activity log
The raw enum value "follow_up_requested" was interpolated directly into the timeline title, producing "Consent follow_up_requested". Use Consent.human_enum_name to resolve the I18n translation instead, which yields the correct human-readable label for all response types ("Consent given", "Consent refused", "Follow-up requested").1 parent 9b96ea4 commit 1c208eb
2 files changed
Lines changed: 36 additions & 3 deletions
File tree
- app/components
- spec/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
220 | 235 | | |
221 | 236 | | |
222 | 237 | | |
223 | | - | |
| 238 | + | |
224 | 239 | | |
225 | 240 | | |
226 | 241 | | |
227 | 242 | | |
228 | 243 | | |
229 | 244 | | |
230 | 245 | | |
231 | | - | |
| 246 | + | |
232 | 247 | | |
233 | 248 | | |
234 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
529 | 547 | | |
530 | 548 | | |
531 | 549 | | |
| |||
0 commit comments