@arsedizioni/ars-utils 19.0.156 → 19.0.158
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.
|
@@ -2218,6 +2218,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2218
2218
|
else if (this.hasAnySelection()) {
|
|
2219
2219
|
documentIds = this.selection?.all?.map(n => n.documentId);
|
|
2220
2220
|
}
|
|
2221
|
+
console.log("set read: " + documentIds.length);
|
|
2221
2222
|
return this.clipperService.updateState({ documentIds: documentIds, isRead: value })
|
|
2222
2223
|
.subscribe(r => {
|
|
2223
2224
|
if (r.success) {
|
|
@@ -2240,6 +2241,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2240
2241
|
}
|
|
2241
2242
|
// Update dashboard
|
|
2242
2243
|
if (changed > 0) {
|
|
2244
|
+
console.log("changed: " + changed);
|
|
2243
2245
|
this.clipperService.updateUnreadItems(ClipperUtils.getClipperModuleFromModel(item), item.model, value ? -1 : 1);
|
|
2244
2246
|
this.changeDetector.markForCheck();
|
|
2245
2247
|
}
|