@posiwise/admin-module 0.0.162 → 0.0.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1279,14 +1279,16 @@ class DomainConfigBuildComponent extends AppBaseComponent {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
const abTestsArray = this.abTests;
|
|
1281
1281
|
abTestsArray.clear();
|
|
1282
|
-
(res.config?.ab_tests
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1282
|
+
if (Array.isArray(res.config?.ab_tests)) {
|
|
1283
|
+
(res.config?.ab_tests ?? []).forEach(test => {
|
|
1284
|
+
abTestsArray.push(this.fb.group({
|
|
1285
|
+
description: [test?.description ?? ''],
|
|
1286
|
+
experiment_name: [test?.experiment_name ?? ''],
|
|
1287
|
+
db_shard: [test?.db_shard ?? ''],
|
|
1288
|
+
microservice_name: [test?.microservice_name ?? '']
|
|
1289
|
+
}));
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1290
1292
|
})
|
|
1291
1293
|
.add(() => {
|
|
1292
1294
|
this.isLoading = false;
|