@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.
@@ -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.documents.updateUnreadItems(module, item.model, value ? -1 : 1);
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.documents.updateUnreadItems(module, n.model, value ? -1 : 1);
1528
+ this.clipperService.account.updateUnreadItems(module, n.model, value ? -1 : 1);
1529
1529
  }
1530
1530
  this.changeDetector.markForCheck();
1531
1531
  }