mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +00:00
Merge branch 'fix/production-result-report' into 'development'
[FIX/FE] Production Result Report See merge request mbugroup/lti-web-client!306
This commit is contained in:
@@ -242,9 +242,6 @@ const ProductionResultContent = () => {
|
|||||||
console.error(error);
|
console.error(error);
|
||||||
toast.error('Gagal melakukan export laporan hasil produksi! Coba lagi.');
|
toast.error('Gagal melakukan export laporan hasil produksi! Coba lagi.');
|
||||||
}
|
}
|
||||||
// await ProductionResultReportApi.exportProductionResultToPdf(
|
|
||||||
// projectFlockKandangs
|
|
||||||
// );
|
|
||||||
|
|
||||||
setIsLoadingExportingToPdf(false);
|
setIsLoadingExportingToPdf(false);
|
||||||
};
|
};
|
||||||
@@ -268,7 +265,12 @@ const ProductionResultContent = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setProjectFlockKandangs([projectFlockKandangResponse.data]);
|
setProjectFlockKandangs([projectFlockKandangResponse.data]);
|
||||||
setProjectFlockKandangMetadata(projectFlockKandangResponse.meta);
|
setProjectFlockKandangMetadata({
|
||||||
|
page: 1,
|
||||||
|
limit: 10,
|
||||||
|
total_pages: 1,
|
||||||
|
total_results: 1,
|
||||||
|
});
|
||||||
setIsLoadingSearch(false);
|
setIsLoadingSearch(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user