- fix: sistemato pagina gruppo che non si visualizzava (errore per modifica)
- fix: corretto il "Invia RIS" al gruppo.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user