@c8y/ngx-components 1009.0.33 → 1009.0.34

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.
@@ -12170,14 +12170,8 @@
12170
12170
  this.LOGIN_VIEWS = exports.LoginViews;
12171
12171
  this.loading = false;
12172
12172
  this.hasError = false;
12173
+ this.isSetup = false;
12173
12174
  }
12174
- Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
12175
- get: function () {
12176
- return this.view === exports.LoginViews.TotpSetup;
12177
- },
12178
- enumerable: true,
12179
- configurable: true
12180
- });
12181
12175
  /**
12182
12176
  * In case of a setup we need the user to be authorized
12183
12177
  * first.
@@ -12191,6 +12185,7 @@
12191
12185
  return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
12192
12186
  case 1:
12193
12187
  _a.sent();
12188
+ this.isSetup = true;
12194
12189
  _a.label = 2;
12195
12190
  case 2: return [2 /*return*/];
12196
12191
  }