Show pending performance groups before maturity

This commit is contained in:
jjbrunton committed 2026-08-09 08:29:22 +01:00
1 parent 55a6774daf
commit ca59ba0f1f
5 files changed
+90 -9

No files matched your search

+8 -5
View File
@@ -85,12 +85,15 @@ export class StrategySelector {
for (const variant of this.variants) {
const s = statsMap.get(variant.id);
results.push({
...(s ?? {
strategyId: variant.id,
totalSent: 0,
totalResponses: 0,
responseRate: 0,
totalImages: 0,
imageRate: 0,
}),
strategyId: variant.id,
totalSent: s?.totalSent || 0,
totalResponses: s?.totalResponses || 0,
responseRate: s?.responseRate || 0,
totalImages: s?.totalImages || 0,
imageRate: s?.imageRate || 0,
configured: true,
});
}