fix weight ai insight target weight data using mr. mike instead of cp707

This commit is contained in:
Alberto-Audrix committed 2026-10-01 16:59:58 +07:00
1 parent bc2b260065
commit 05465b0382
5 files changed
+83 -11

No files matched your search

+2 -1
View File
@@ -132,12 +132,13 @@ const WeightMonitoringPage: React.FC<{ onSettings: () => void }> = ({ onSettings
kandangName: selectedKandang.kandang_name,
cycleId: selectedCycle?.id,
totalDays: selectedCycle?.total_days ?? null,
docWeight: docWeight,
weightRows: chartRows,
averageWeight: kpiLatest?.average_weight ?? null,
uniformity: kpiLatest?.uniformity ?? null,
adg: kpiLatest?.average_daily_gain ?? null,
});
}, [selectedKandang, selectedCycle, chartRows, kpiLatest]);
}, [selectedKandang, selectedCycle, docWeight, chartRows, kpiLatest]);
if (!selectedCycle) return <EmptyFarm onSettings={onSettings} />;