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.
- package/core/interfaces/config.d.ts +3 -1
- package/esm2020/core/components/scan/scan.component.mjs +2 -2
- package/esm2020/core/interfaces/config.mjs +1 -1
- package/esm2020/providers/scan.provider.mjs +2 -2
- package/fesm2015/ngx-scandoc.mjs +2 -2
- package/fesm2015/ngx-scandoc.mjs.map +1 -1
- package/fesm2020/ngx-scandoc.mjs +2 -2
- package/fesm2020/ngx-scandoc.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/ngx-scandoc.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
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;
|