ngx-scandoc 15.1.9 → 15.2.0

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.
@@ -759,7 +759,7 @@ class ScanProvider {
759
759
  this.injector = injector;
760
760
  // enableVerification = true;
761
761
  this.config = this.injector.get(SCAN_CONFIG_TOKEN);
762
- this.canStoreImages = this.config.development;
762
+ this.canStoreImages = this.config.canStoreImages;
763
763
  }
764
764
  genderList() {
765
765
  return {
@@ -3036,7 +3036,7 @@ class ScanComponent extends BaseComponent {
3036
3036
  }
3037
3037
  use() {
3038
3038
  // save images??
3039
- if (this.scanProvider.canStoreImages) {
3039
+ if (this.scanProvider.config.sendLog) {
3040
3040
  this.logData.ExpectedOutput = JSON.parse(JSON.stringify(this.model));
3041
3041
  if (this.logData.ExpectedOutput?._avatar) {
3042
3042
  delete this.logData.ExpectedOutput._avatar;