ngx-scandoc 1.3.3 → 1.3.4

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.
@@ -2840,15 +2840,17 @@ class ScanComponent extends BaseComponent {
2840
2840
  images: this.images,
2841
2841
  },
2842
2842
  });
2843
- this.zone.run(() => {
2844
- this.result = true;
2845
- console.time('ff');
2846
- this.cd.detectChanges();
2847
- this.scanResults.next({ type: 'model', data: model });
2848
- // this.cd.detectChanges();
2849
- // });
2850
- console.timeEnd('ff');
2851
- });
2843
+ if (!this.scanProvider.config.hideResults) {
2844
+ this.zone.run(() => {
2845
+ this.result = true;
2846
+ console.time('ff');
2847
+ this.cd.detectChanges();
2848
+ this.scanResults.next({ type: 'model', data: model });
2849
+ // this.cd.detectChanges();
2850
+ // });
2851
+ console.timeEnd('ff');
2852
+ });
2853
+ }
2852
2854
  }
2853
2855
  else {
2854
2856
  console.log('ERROR');