@lowcodeunit/applications-flow-common 1.36.179-LicenseAndBilling → 1.36.182-LicenseAndBilling

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.
@@ -379,7 +379,7 @@ class ProjectService {
379
379
  this.appsFlowSvc.EnterpriseAsCodeRemovals(eac).subscribe(async (response) => {
380
380
  if (response.Status.Code === 0) {
381
381
  resolve(response.Status);
382
- var results = await Promise.all([
382
+ await Promise.all([
383
383
  this.LoadEnterpriseAsCode(state),
384
384
  this.LoadUserFeed(1, 25, false, state),
385
385
  ]);
@@ -465,10 +465,6 @@ class ProjectService {
465
465
  state.Loading = true;
466
466
  this.appsFlowSvc.HasValidConnection().subscribe(async (response) => {
467
467
  state.GitHub.HasConnection = response.Status.Code === 0;
468
- if (state.GitHub.HasConnection || forceEnsureUser) {
469
- }
470
- else {
471
- }
472
468
  resolve({});
473
469
  }, (err) => {
474
470
  state.Loading = false;
@@ -505,18 +501,16 @@ class ProjectService {
505
501
  if (response.Status.Code === 0) {
506
502
  state.EaC = response.Model || {};
507
503
  }
508
- else if (response.Status.Code === 3) {
509
- }
510
504
  state.EaC = state.EaC || {};
511
505
  this.CreatingProject =
512
506
  Object.keys(state?.EaC?.Projects || {}).length <= 0;
513
507
  resolve(state.EaC);
514
508
  this.activatedRoute.queryParams.subscribe((params) => {
515
509
  if (params?.direct == 'true') {
516
- let projKeys = Object.keys(state.EaC.Projects || {});
510
+ let projKeys = Object.keys();
517
511
  if (projKeys.length == 1) {
518
512
  console.log('Directing to deeper link');
519
- let appKeys = Object.keys(state.EaC.Applications || {});
513
+ let appKeys = Object.keys();
520
514
  if (appKeys.length == 1) {
521
515
  let app = state.EaC.Applications[appKeys[0]];
522
516
  let routeKey = encodeURIComponent(app.LookupConfig.PathRegex?.replace('.*', '') || '/');
@@ -594,7 +588,7 @@ class ProjectService {
594
588
  state.ActiveEnterpriseLookup = activeEntLookup;
595
589
  console.log('project service State active ent: ', state.ActiveEnterpriseLookup);
596
590
  resolve(response.Status);
597
- var results = await Promise.all([
591
+ await Promise.all([
598
592
  this.LoadEnterpriseAsCode(state),
599
593
  this.LoadUserFeed(1, 25, false, state),
600
594
  ]);
@@ -617,7 +611,7 @@ class ProjectService {
617
611
  this.appsFlowSvc.SaveEnterpriseAsCode(eac).subscribe(async (response) => {
618
612
  if (response.Status.Code === 0) {
619
613
  resolve(response.Status);
620
- var results = await Promise.all([
614
+ await Promise.all([
621
615
  this.LoadEnterpriseAsCode(state),
622
616
  this.LoadUserFeed(1, 25, false, state),
623
617
  ]);
@@ -664,7 +658,7 @@ class ProjectService {
664
658
  this.appsFlowSvc.SubmitFeedEntry(entry).subscribe(async (response) => {
665
659
  if (response.Status.Code === 0) {
666
660
  resolve(response.Status);
667
- var results = await Promise.all([
661
+ await Promise.all([
668
662
  this.LoadEnterpriseAsCode(state),
669
663
  this.LoadUserFeed(1, 25, false, state),
670
664
  ]);
@@ -690,7 +684,7 @@ class ProjectService {
690
684
  this.appsFlowSvc.UnpackLowCodeUnit(req).subscribe(async (response) => {
691
685
  if (response.Status.Code === 0) {
692
686
  resolve(response.Status);
693
- var results = await Promise.all([
687
+ await Promise.all([
694
688
  this.LoadEnterpriseAsCode(state),
695
689
  this.LoadUserFeed(1, 25, false, state),
696
690
  ]);