@arsedizioni/ars-utils 20.3.43 → 20.3.45

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.
@@ -2235,8 +2235,6 @@ class ClipperService {
2235
2235
  * @param onSuccess: function to execute on success
2236
2236
  */
2237
2237
  autoLogout(onSuccess) {
2238
- if (!this.loggedIn())
2239
- return;
2240
2238
  this.logout()
2241
2239
  .subscribe({
2242
2240
  next: r => {
@@ -2248,6 +2246,7 @@ class ClipperService {
2248
2246
  this.dialogService.toast('Disconnesso da Clipper', 1500, 'power_off');
2249
2247
  }
2250
2248
  },
2249
+ error: () => { },
2251
2250
  complete: () => {
2252
2251
  this.dialogService.clearBusy();
2253
2252
  if (onSuccess) {