- catalogo

- corretto logica del RefreshToken che non richiedeva il nuovo token, quindi scadeva tutte le volte, richiedendo sempre l'accesso !
This commit is contained in:
Surya Paolo
2025-01-07 17:17:08 +01:00
parent ce86dd51a8
commit 3734762a8b
72 changed files with 2112 additions and 3592650 deletions

View File

@@ -1019,7 +1019,9 @@ export const useGlobalStore = defineStore('GlobalStore', {
await globalroutines('readall', 'config', null)
this.editOn = tools.getCookie('edn', '0') === '1'
if (tools.isLogged()) {
this.editOn = tools.getCookie('edn', '0') === '1'
}
return isok
},
@@ -1727,6 +1729,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
this.providers = (res.data.providers) ? [...res.data.providers] : []
Products.catprods = (res.data.catprods) ? [...res.data.catprods] : []
Products.collane = (res.data.collane) ? [...res.data.collane] : []
Products.subcatprods = (res.data.subcatprods) ? [...res.data.subcatprods] : []
Products.catprods_gas = (res.data.catprods_gas) ? [...res.data.catprods_gas] : []
Products.authors = (res.data.authors) ? [...res.data.authors] : []
@@ -2303,7 +2306,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
excludeproductTypes: [],
formato: [],
Categoria: [],
Editore: [],
editore: [],
pdf: false,
dimensioni_def: {
pagina: tools.resetRecIDimensioni(null)