Keep model summary data during refresh gaps

This commit is contained in:
2569718930@qq.com
2026-06-29 21:17:04 +08:00
parent 1df13bb9e6
commit 168b813754
3 changed files with 84 additions and 2 deletions
+7
View File
@@ -196,3 +196,10 @@ export function filterModelSummaryRows(
return true;
});
}
export function hasModelSummaryForecastData(rows: ModelSummaryRow[]) {
return rows.some((row) => {
if (row.debPrediction != null) return true;
return MODEL_SUMMARY_MODEL_COLUMNS.some((column) => row.models[column.key] != null);
});
}