- aggiornato la versione STAMPA, che non funzionava
This commit is contained in:
@@ -63,6 +63,7 @@ async function getConfig(id: any) {
|
||||
export const useGlobalStore = defineStore('GlobalStore', {
|
||||
state: (): IGlobalState => ({
|
||||
showHeader: true,
|
||||
inStampa: false,
|
||||
finishLoading: false,
|
||||
conta: 0,
|
||||
wasAlreadySubscribed: false,
|
||||
@@ -804,6 +805,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
inmenu: page.inmenu,
|
||||
onlySocioResidente: page.only_residenti,
|
||||
onlyConsiglio: page.only_consiglio,
|
||||
onlyCollaboratore: page.only_collab,
|
||||
onlyAdmin: page.only_admin,
|
||||
color: page.color,
|
||||
infooter: page.infooter,
|
||||
@@ -3254,5 +3256,9 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
setshowHeader(value: boolean) {
|
||||
this.showHeader = value;
|
||||
},
|
||||
setinStampa(value: boolean) {
|
||||
this.inStampa = value;
|
||||
// console.log('inStampa', this.inStampa)
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user