- fix: sistemato pagina gruppo che non si visualizzava (errore per modifica)

- fix: corretto il "Invia RIS" al gruppo.
This commit is contained in:
Surya Paolo
2025-03-13 18:19:35 +01:00
parent f187fb2146
commit f5b0e693d0
24 changed files with 258 additions and 627 deletions

View File

@@ -306,10 +306,14 @@ export const useUserStore = defineStore('UserStore', {
},
IsMyGroupByGroupname(groupname: string): boolean {
if (this.my.profile.mygroups)
return this.my.profile.mygroups.findIndex((rec) => rec.groupname === groupname) >= 0
else
try {
if (this.my.profile?.mygroups)
return this.my.profile.mygroups.findIndex((rec) => rec.groupname === groupname) >= 0
else
return false
} catch (e) {
return false
}
},
getMyGroupByGroupname(groupname: string): IMyGroup | null {