@arsedizioni/ars-utils 20.3.55 → 20.3.56
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.
|
@@ -594,8 +594,10 @@ class ClipperDocumentManager {
|
|
|
594
594
|
* @param document: the document to link to the activity
|
|
595
595
|
*/
|
|
596
596
|
RS_newActivity(document) {
|
|
597
|
+
console.log("RS_newActivity: " + document?.documentId);
|
|
597
598
|
if (!this.clipperService.supportsRS() || !document)
|
|
598
599
|
return;
|
|
600
|
+
console.log("RS_newActivity: send");
|
|
599
601
|
this.broadcastService.sendMessage(ClipperMessages.INTEROP_RS_NEW_ACTIVITY, document);
|
|
600
602
|
}
|
|
601
603
|
/**
|
|
@@ -724,11 +726,9 @@ class ClipperDocumentMenuComponent {
|
|
|
724
726
|
*/
|
|
725
727
|
getSingleSelection() {
|
|
726
728
|
if (this.item()) {
|
|
727
|
-
console.log(JSON.stringify(this.item()));
|
|
728
729
|
return this.item();
|
|
729
730
|
}
|
|
730
731
|
else if (this.selection().length === 1) {
|
|
731
|
-
console.log(JSON.stringify(this.selection()[0]));
|
|
732
732
|
return this.selection()[0];
|
|
733
733
|
}
|
|
734
734
|
return undefined;
|