feat(#44): UserManagementPanel + masquer onglet Administrateurs (dashboard gestionnaire)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-25 16:35:35 +01:00
co-authored by Cursor
parent e990d576cf
commit defa438edf
4 changed files with 34 additions and 17 deletions
@@ -4,7 +4,7 @@ import 'package:p_tits_pas/widgets/admin/user_management_panel.dart';
import 'package:p_tits_pas/widgets/app_footer.dart';
/// Dashboard gestionnaire même shell que l'admin, sans onglet Paramètres.
/// Réutilise [AdminUserManagementPanel].
/// Réutilise [UserManagementPanel].
class GestionnaireDashboardScreen extends StatefulWidget {
const GestionnaireDashboardScreen({super.key});
@@ -36,7 +36,9 @@ class _GestionnaireDashboardScreenState extends State<GestionnaireDashboardScree
),
body: Column(
children: [
const Expanded(child: AdminUserManagementPanel()),
Expanded(
child: UserManagementPanel(showAdministrateursTab: false),
),
const AppFooter(),
],
),