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:
@@ -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 = []
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
:options="[
|
||||
{label: 'Tutti', value: tools.FILTER_ALL},
|
||||
{label: 'Personali', value: tools.FILTER_MYREC},
|
||||
// {label: 'Seguo', value: tools.FILTER_MYFOLLOW},
|
||||
]"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user