fix button registration disabled
Conto Comunitario... passo 2
This commit is contained in:
@@ -248,6 +248,11 @@ export const useUserStore = defineStore('UserStore', {
|
||||
return this.my.profile.manage_mygroups
|
||||
},
|
||||
|
||||
hoContiComunitariDaAmministrare(): boolean {
|
||||
const arr = this.my.profile.manage_mygroups.find((group: IMyGroup) => group.account)
|
||||
return arr ? true : false
|
||||
},
|
||||
|
||||
IsAskedFriendByUsername(username: string): boolean {
|
||||
if (this.my.profile.asked_friends)
|
||||
return this.my.profile.asked_friends.findIndex((rec) => rec.username === username) >= 0
|
||||
|
||||
Reference in New Issue
Block a user