@lowcodeunit/applications-flow-common 1.32.2-apps-flow → 1.32.6-apps-flow

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.
@@ -1481,13 +1481,20 @@
1481
1481
  });
1482
1482
  };
1483
1483
  ApplicationsFlowProjectsElementComponent.prototype.handleSaveProject = function (projectLookup, project) {
1484
+ var _a;
1484
1485
  return __awaiter(this, void 0, void 0, function () {
1485
- var saveEaC;
1486
+ var projHosts, saveEaC;
1487
+ var _this = this;
1486
1488
  return __generator(this, function (_e) {
1487
1489
  switch (_e.label) {
1488
1490
  case 0:
1491
+ projHosts = {};
1492
+ (_a = project === null || project === void 0 ? void 0 : project.Hosts) === null || _a === void 0 ? void 0 : _a.forEach(function (host) {
1493
+ projHosts[host] = _this.State.EaC.Hosts;
1494
+ });
1489
1495
  saveEaC = {
1490
1496
  EnterpriseLookup: this.State.EaC.EnterpriseLookup,
1497
+ Hosts: projHosts,
1491
1498
  // Providers: this.State.EaC.Providers, // TODO: Remove after all providers ADB2C's have been upgraded
1492
1499
  Projects: {},
1493
1500
  };
@@ -3196,7 +3203,7 @@
3196
3203
  };
3197
3204
  AppsFlowComponent.prototype.setupLCUGitHubForm = function () {
3198
3205
  var _a;
3199
- this.ApplicationFormGroup.addControl('build', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Build) || '', [forms.Validators.required]));
3206
+ this.ApplicationFormGroup.addControl('build', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Build) || 'latest', [forms.Validators.required]));
3200
3207
  };
3201
3208
  AppsFlowComponent.prototype.setupLCUGitHubOAuthForm = function () {
3202
3209
  var _a, _b;