Non si vedono le foto nella lista degli utenti (sul gruppo)

Corretto le varie funzionalità di Richieste di ingresso e uscita dai Gruppi
This commit is contained in:
paoloar77
2022-03-06 01:44:54 +01:00
parent c6539f4378
commit 267dca3f15
10 changed files with 55 additions and 15 deletions

View File

@@ -74,7 +74,21 @@ export default defineComponent({
watch(() => myrecfiltertoggle.value, (value: any, oldval: any) => {
if (value === tools.FILTER_MYREC) {
filtercustom.value = [{ userId: userStore.my._id }]
if (props.table === toolsext.TABMYGROUPS) {
filtercustom.value = [{
'admins': {
$elemMatch: { username: { $eq: userStore.my.username } }
},
}]
} else {
filtercustom.value = [{ userId: userStore.my._id }]
}
} else if (value === tools.FILTER_MYFOLLOW) {
if (props.table === toolsext.TABMYGROUPS) {
}
} else {
filtercustom.value = []
}