upd: fitur tambahan project

Deskripsi:
- tampilan list detail waktu task project
- integrasi api mobile list detail
- tampilan tambah detail task project > blm selesai

No Issues
This commit is contained in:
2025-08-19 17:39:27 +08:00
parent 7810eb1686
commit 263875ae55
7 changed files with 160 additions and 7 deletions

View File

@@ -301,8 +301,8 @@ export const apiDeleteProjectTask = async (data: { user: string, idProject: stri
return response.data
};
export const apiGetProjectTask = async ({ user, id }: { user: string, id: string }) => {
const response = await api.get(`mobile/project/detail/${id}?user=${user}`);
export const apiGetProjectTask = async ({ user, id, cat }: { user: string, id: string, cat?: string }) => {
const response = await api.get(`mobile/project/detail/${id}?user=${user}${cat ? `&cat=${cat}` : ""}`);
return response.data;
};