@c8y/ngx-components 1011.0.17 → 1011.0.18

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.
@@ -11800,14 +11800,8 @@
11800
11800
  this.LOGIN_VIEWS = exports.LoginViews;
11801
11801
  this.loading = false;
11802
11802
  this.hasError = false;
11803
+ this.isSetup = false;
11803
11804
  }
11804
- Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
11805
- get: function () {
11806
- return this.view === exports.LoginViews.TotpSetup;
11807
- },
11808
- enumerable: false,
11809
- configurable: true
11810
- });
11811
11805
  /**
11812
11806
  * In case of a setup we need the user to be authorized
11813
11807
  * first.
@@ -11821,6 +11815,7 @@
11821
11815
  return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
11822
11816
  case 1:
11823
11817
  _a.sent();
11818
+ this.isSetup = true;
11824
11819
  _a.label = 2;
11825
11820
  case 2: return [2 /*return*/];
11826
11821
  }