update sync chicken counting realtime mirrored from weight sync, remove panel iot cron
This commit is contained in:
1 parent
83a41fbbcb
commit
a6d4ddac65
9 files changed
+40
-17
No files matched your search
@@ -74,6 +74,10 @@ const Dashboard: React.FC<Props> = ({ setView }) => {
|
||||
}
|
||||
setError(null);
|
||||
try {
|
||||
await Promise.all([
|
||||
api.countings.sync({ cycle_id: cycleId }).catch(() => null),
|
||||
api.weights.sync({ cycle_id: cycleId }).catch(() => null),
|
||||
]);
|
||||
const [kpiRows, countingRows, manualRows, weightRows, freshCycle] = await Promise.all([
|
||||
api.kpis.list({ cycle_id: cycleId }),
|
||||
api.countings.list({ cycle_id: cycleId }),
|
||||
|
||||
Reference in new issue
Block a user