fix: use project flock kandang ID instead kandang ID and use kandang name with period for kandang options in filter

This commit is contained in:
ValdiANS
2026-04-16 10:17:07 +07:00
parent 11353809f0
commit 192a2be8b9
@@ -173,8 +173,8 @@ const DashboardProduction = () => {
loadMore: loadMoreKandang,
} = useSelect<ProjectFlockKandang>(
ProjectFlockKandangApi.basePath,
'kandang_id',
'kandang.name',
'id',
'name_with_period',
'search',
{
location_id:
@@ -362,7 +362,7 @@ const DashboardProduction = () => {
</div>
{/* Hidden container for all charts (used for PDF export in OVERVIEW mode) */}
{dashboardProductionData && (
{exporting && dashboardProductionData && (
<>
{/* Export Stats Charts */}
<div