fix(front): afficher le statut Refusé pour les parents (#110)
_displayStatus refuse → Refusé ; filtre dropdown Parents aligné. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
65f10e9ca6
commit
f71943fa79
@ -104,6 +104,8 @@ class _ParentManagementWidgetState extends State<ParentManagementWidget> {
|
|||||||
return 'En attente';
|
return 'En attente';
|
||||||
case 'suspendu':
|
case 'suspendu':
|
||||||
return 'Suspendu';
|
return 'Suspendu';
|
||||||
|
case 'refuse':
|
||||||
|
return 'Refusé';
|
||||||
default:
|
default:
|
||||||
return 'Inconnu';
|
return 'Inconnu';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -158,6 +158,13 @@ class _UserManagementPanelState extends State<UserManagementPanel> {
|
|||||||
child: Text('Suspendu', style: TextStyle(fontSize: 12)),
|
child: Text('Suspendu', style: TextStyle(fontSize: 12)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
DropdownMenuItem<String?>(
|
||||||
|
value: 'refuse',
|
||||||
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(left: 10),
|
||||||
|
child: Text('Refusé', style: TextStyle(fontSize: 12)),
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user