@lowcodeunit/applications-flow-common 1.33.72-lets-get-social-ish → 1.33.73-lets-get-social-ish

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.
@@ -823,17 +823,17 @@
823
823
  switch (_b.label) {
824
824
  case 0:
825
825
  state.GitHub.HasConnection = response.Status.Code === 0;
826
- if (!(state.GitHub.HasConnection || forceEnsureUser)) return [3 /*break*/, 2];
827
826
  return [4 /*yield*/, this.EnsureUserEnterprise(state)];
828
827
  case 1:
829
828
  eac = _b.sent();
830
- resolve(eac);
831
- return [3 /*break*/, 3];
832
- case 2:
833
- window.location.href = '/dashboard/create-project';
834
- resolve({});
835
- _b.label = 3;
836
- case 3: return [2 /*return*/];
829
+ if (state.GitHub.HasConnection || forceEnsureUser) {
830
+ resolve(eac);
831
+ }
832
+ else {
833
+ window.location.href = '/dashboard/create-project';
834
+ resolve({});
835
+ }
836
+ return [2 /*return*/];
837
837
  }
838
838
  });
839
839
  }); }, function (err) {