..
This commit is contained in:
parent
fe4a64e4d2
commit
831aacc202
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user