- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user