@arsedizioni/ars-utils 21.2.117 → 21.2.120
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.
|
@@ -887,9 +887,8 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
887
887
|
ngOnInit() {
|
|
888
888
|
if (this.dialogData) {
|
|
889
889
|
if (this.dialogData.id) {
|
|
890
|
-
console.log('Opening document', this.dialogData.id);
|
|
891
890
|
// Compose query
|
|
892
|
-
let id = this.dialogData.id;
|
|
891
|
+
let id = this.dialogData.id.toString();
|
|
893
892
|
const p = id.indexOf('#');
|
|
894
893
|
if (p != -1) {
|
|
895
894
|
id = id.substring(0, p);
|
|
@@ -1593,7 +1592,6 @@ class ClipperDocumentsUtils {
|
|
|
1593
1592
|
dialogService.error("Documento non valido.");
|
|
1594
1593
|
return undefined;
|
|
1595
1594
|
}
|
|
1596
|
-
console.log('Opening document', documentId);
|
|
1597
1595
|
return dialogService.open(ClipperDocumentComponent, {
|
|
1598
1596
|
ariaLabel: 'documento',
|
|
1599
1597
|
autoFocus: false,
|