@arsedizioni/ars-utils 18.2.514 → 18.2.515
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.
- package/clipper.common/common/services/clipper.service.d.ts +4 -0
- package/esm2022/clipper.common/common/services/clipper.service.mjs +8 -1
- package/esm2022/clipper.ui/ui/document/document.component.mjs +7 -5
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +7 -0
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +6 -4
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -2286,10 +2286,12 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
2286
2286
|
this.previewFile(url);
|
|
2287
2287
|
}
|
|
2288
2288
|
else {
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2289
|
+
this.clipperService.preRender().subscribe(() => {
|
|
2290
|
+
// Begin loading only if not downloading a file
|
|
2291
|
+
this.busy.set(url.indexOf('documents/render/item') === -1);
|
|
2292
|
+
// Navigate
|
|
2293
|
+
this.url.set(url);
|
|
2294
|
+
});
|
|
2293
2295
|
}
|
|
2294
2296
|
}
|
|
2295
2297
|
/**
|