@arsedizioni/ars-utils 22.0.35 → 22.0.36
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +43 -43
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +20 -20
|
@@ -1513,7 +1513,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
1513
1513
|
this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_READ, { document: item, value: value });
|
|
1514
1514
|
const module = ClipperUtils.getClipperModuleFromModel(item);
|
|
1515
1515
|
if (module) {
|
|
1516
|
-
this.clipperService.
|
|
1516
|
+
this.clipperService.account.updateUnreadItems(module, item.model, value ? -1 : 1);
|
|
1517
1517
|
}
|
|
1518
1518
|
this.changeDetector.markForCheck();
|
|
1519
1519
|
}
|
|
@@ -1525,7 +1525,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
1525
1525
|
this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_READ, { document: n, value: value });
|
|
1526
1526
|
const module = ClipperUtils.getClipperModuleFromModel(n);
|
|
1527
1527
|
if (module) {
|
|
1528
|
-
this.clipperService.
|
|
1528
|
+
this.clipperService.account.updateUnreadItems(module, n.model, value ? -1 : 1);
|
|
1529
1529
|
}
|
|
1530
1530
|
this.changeDetector.markForCheck();
|
|
1531
1531
|
}
|