Riso: Ris Italia, altre modifiche grafiche
Lista Utenti da Verificare
This commit is contained in:
@@ -81,6 +81,7 @@ export const DefaultUser: IUserFields = {
|
||||
last_circuitpath: '',
|
||||
lastdate_reqRis: tools.getLastDateReadReset(),
|
||||
manage_mygroups: [],
|
||||
userstoverify: [],
|
||||
asked_friends: [],
|
||||
asked_groups: [],
|
||||
refused_groups: [],
|
||||
@@ -155,6 +156,7 @@ export const DefaultProfile: IUserProfile = {
|
||||
mycircuits: [],
|
||||
last_circuitpath: '',
|
||||
manage_mygroups: [],
|
||||
userstoverify: [],
|
||||
asked_friends: [],
|
||||
asked_groups: [],
|
||||
refused_groups: [],
|
||||
@@ -315,6 +317,16 @@ export const useUserStore = defineStore('UserStore', {
|
||||
}
|
||||
},
|
||||
|
||||
getUsersToVerify(): any[] {
|
||||
try {
|
||||
const arr: any = this.my.profile.userstoverify
|
||||
return arr
|
||||
} catch (e) {
|
||||
return []
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
hoContiComunitariDaAmministrare(): boolean {
|
||||
try {
|
||||
const arr: any = this.my.profile.manage_mygroups.filter((group: IMyGroup) => (group.mycircuits!.length > 0))
|
||||
|
||||
Reference in New Issue
Block a user