@c8y/ngx-components 1010.0.28 → 1010.0.29

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.
@@ -12679,14 +12679,8 @@ var TotpAuthComponent = /** @class */ (function () {
12679
12679
  this.LOGIN_VIEWS = LoginViews;
12680
12680
  this.loading = false;
12681
12681
  this.hasError = false;
12682
+ this.isSetup = false;
12682
12683
  }
12683
- Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
12684
- get: function () {
12685
- return this.view === LoginViews.TotpSetup;
12686
- },
12687
- enumerable: true,
12688
- configurable: true
12689
- });
12690
12684
  /**
12691
12685
  * In case of a setup we need the user to be authorized
12692
12686
  * first.
@@ -12700,6 +12694,7 @@ var TotpAuthComponent = /** @class */ (function () {
12700
12694
  return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
12701
12695
  case 1:
12702
12696
  _a.sent();
12697
+ this.isSetup = true;
12703
12698
  _a.label = 2;
12704
12699
  case 2: return [2 /*return*/];
12705
12700
  }