@arsedizioni/ars-utils 19.0.95 → 19.0.96
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.
|
@@ -1432,7 +1432,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1432
1432
|
*/
|
|
1433
1433
|
select() {
|
|
1434
1434
|
if (this.lastDocument) {
|
|
1435
|
-
this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_SELECTED_INNER,
|
|
1435
|
+
this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_SELECTED_INNER, this.lastDocument);
|
|
1436
1436
|
this.changeDetector.markForCheck();
|
|
1437
1437
|
this.close();
|
|
1438
1438
|
}
|
|
@@ -3852,6 +3852,7 @@ class ClipperBrowserDialogComponent {
|
|
|
3852
3852
|
.pipe(takeUntil(this.unsubscribe))
|
|
3853
3853
|
.subscribe(message => {
|
|
3854
3854
|
if (message.id === ClipperMessages.DOCUMENT_SELECTED_INNER) {
|
|
3855
|
+
console.log(JSON.stringify(message));
|
|
3855
3856
|
const document = this.clipperBrowser().getSnapshotDocument(message.data.documentId || message.data.id);
|
|
3856
3857
|
if (document) {
|
|
3857
3858
|
this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_SELECTED, [document]);
|