This commit is contained in:
Manish 2025-11-13 11:30:36 +05:30
parent fe4a64e4d2
commit 831aacc202

View File

@ -331,14 +331,17 @@ class _ManageReportingBottomSheetState
await controller.fetchReportingManagers(empId);
await controller.fetchEmployeeDetails(empId);
} catch (_) {
// ignore if controller not found not critical
}
// Optional: re-fetch the organization hierarchy list (if needed elsewhere)
await ApiService.getOrganizationHierarchyList(employeeId);
// Keep sheet open and reset selections
_resetForm();
if (Navigator.of(context).canPop()) {
Navigator.of(context).pop();
}
} else {
showAppSnackbar(
title: 'Error',