@senior-gestao-relacionamento/angular-components 1.7.1 → 1.7.2

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.
@@ -1109,6 +1109,7 @@
1109
1109
  var moduleDto = _this.storageService.get(_this.ERPX_MODULE_KEY);
1110
1110
  if (moduleDto !== null && useCache) {
1111
1111
  observer.next(Modulo.fromDto(moduleDto));
1112
+ observer.complete();
1112
1113
  }
1113
1114
  else {
1114
1115
  _this.http
@@ -1124,10 +1125,10 @@
1124
1125
  var moduloDto = response.contents[0];
1125
1126
  _this.storageService.store(_this.ERPX_MODULE_KEY, moduloDto);
1126
1127
  observer.next(Modulo.fromDto(moduloDto));
1128
+ observer.complete();
1127
1129
  }
1128
1130
  });
1129
1131
  }
1130
- observer.complete();
1131
1132
  });
1132
1133
  };
1133
1134
  CurrentTenantService.prototype.redirect = function (page) {