@arsedizioni/ars-utils 21.2.201 → 21.2.203
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.
|
@@ -2045,7 +2045,11 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
return this.clipperService.updateState({ documentIds: documentIds, isRead: value })
|
|
2047
2047
|
.subscribe(r => {
|
|
2048
|
-
if (r.success) {
|
|
2048
|
+
if (!r.success) {
|
|
2049
|
+
// soft error
|
|
2050
|
+
this.dialogService.toast(r.message);
|
|
2051
|
+
}
|
|
2052
|
+
else {
|
|
2049
2053
|
if (item) {
|
|
2050
2054
|
if (item.isRead !== value) {
|
|
2051
2055
|
item.isRead = value;
|