fix weight ai insight target weight data using mr. mike instead of cp707
This commit is contained in:
1 parent
bc2b260065
commit
05465b0382
5 files changed
+83
-11
No files matched your search
@@ -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} />;
|
||||
|
||||
|
||||
Reference in new issue
Block a user