Show pending performance groups before maturity
This commit is contained in:
1 parent
55a6774daf
commit
ca59ba0f1f
5 files changed
+90
-9
No files matched your search
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user