feat: implement sorting and visibility changes
This commit is contained in:
@@ -12,7 +12,7 @@ export interface Department {
|
||||
}
|
||||
|
||||
export const getDepartmentsApi = async () => {
|
||||
const res = await apiClient.get("/departments/getAll");
|
||||
const res = await apiClient.get("/departments/getAll?admin=true");
|
||||
return res.data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user