From 94d844c1043ff9a4afa25b0f2696aa23c5b26e2e Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Fri, 30 May 2025 16:44:55 +0200 Subject: [PATCH] - generazione della raccolta PDF OK !!! --- src/store/UserStore.ts | 1 + src/views/ecommerce/catalogo/catalogo.scss | 3 +++ src/views/ecommerce/catalogo/catalogo.ts | 2 +- src/views/ecommerce/catalogo/catalogo.vue | 4 ++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/store/UserStore.ts b/src/store/UserStore.ts index ff80cb84..4f8b985c 100755 --- a/src/store/UserStore.ts +++ b/src/store/UserStore.ts @@ -1341,6 +1341,7 @@ export const useUserStore = defineStore('UserStore', { this.my.perm, shared_consts.Permissions.Grafico.value ); + this.isCollaboratore = this.isGrafico || this.isCommerciale || this.isEditor || this.isAdmin || this.isManager this.my.tokens = []; this.resetArrToken(this.my.tokens); diff --git a/src/views/ecommerce/catalogo/catalogo.scss b/src/views/ecommerce/catalogo/catalogo.scss index 445ebecf..d2162b2a 100755 --- a/src/views/ecommerce/catalogo/catalogo.scss +++ b/src/views/ecommerce/catalogo/catalogo.scss @@ -95,6 +95,9 @@ body { font-size: calc(15 * var(--scalecatalogx) * 1px); text-align: justify; word-wrap: break-word; + + hyphens: auto; /* Sillabazione automatica */ + } .book-link { diff --git a/src/views/ecommerce/catalogo/catalogo.ts b/src/views/ecommerce/catalogo/catalogo.ts index 5c22a0af..dccf752a 100755 --- a/src/views/ecommerce/catalogo/catalogo.ts +++ b/src/views/ecommerce/catalogo/catalogo.ts @@ -2581,7 +2581,7 @@ export default defineComponent({ icon: 'check', }); } else { - let error = ris.error + let error = ris?.error $q.notify({ color: 'negative', message: `PDF NON generato Errore: ${error}!`, diff --git a/src/views/ecommerce/catalogo/catalogo.vue b/src/views/ecommerce/catalogo/catalogo.vue index 755f0718..ad6abd7f 100755 --- a/src/views/ecommerce/catalogo/catalogo.vue +++ b/src/views/ecommerce/catalogo/catalogo.vue @@ -619,7 +619,7 @@
-
+