- Visu Saldo su Home
- SendRisTo - Movimenti conto Comunitario - Profilo
This commit is contained in:
@@ -83,6 +83,7 @@ export const DefaultUser: IUserFields = {
|
||||
notif_sector_goods: [],
|
||||
stepTutorial: 0,
|
||||
noNameSurname: false,
|
||||
noFoto: false,
|
||||
asked_circuits: [],
|
||||
refused_circuits: [],
|
||||
manage_mycircuits: [],
|
||||
@@ -145,6 +146,7 @@ export const DefaultProfile: IUserProfile = {
|
||||
notif_sector_goods: [],
|
||||
stepTutorial: 0,
|
||||
noNameSurname: false,
|
||||
noFoto: false,
|
||||
asked_circuits: [],
|
||||
refused_circuits: [],
|
||||
manage_mycircuits: [],
|
||||
@@ -859,6 +861,17 @@ export const useUserStore = defineStore('UserStore', {
|
||||
return await this.execDbOp({mydata})
|
||||
}
|
||||
},
|
||||
async savenoFoto(val: boolean) {
|
||||
const mydata = {
|
||||
_id: this.my._id,
|
||||
dbop: 'noFoto',
|
||||
value: val,
|
||||
}
|
||||
if (this.my.profile.noFoto !== val) {
|
||||
this.my.profile.noFoto = val
|
||||
return await this.execDbOp({mydata})
|
||||
}
|
||||
},
|
||||
|
||||
async newsletterload(paramquery: any) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user