@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.
@@ -12873,14 +12873,8 @@
12873
12873
  this.LOGIN_VIEWS = exports.LoginViews;
12874
12874
  this.loading = false;
12875
12875
  this.hasError = false;
12876
+ this.isSetup = false;
12876
12877
  }
12877
- Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
12878
- get: function () {
12879
- return this.view === exports.LoginViews.TotpSetup;
12880
- },
12881
- enumerable: true,
12882
- configurable: true
12883
- });
12884
12878
  /**
12885
12879
  * In case of a setup we need the user to be authorized
12886
12880
  * first.
@@ -12894,6 +12888,7 @@
12894
12888
  return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
12895
12889
  case 1:
12896
12890
  _a.sent();
12891
+ this.isSetup = true;
12897
12892
  _a.label = 2;
12898
12893
  case 2: return [2 /*return*/];
12899
12894
  }