- sistemato anche il users/profile ed aggiunto /users/activities

This commit is contained in:
Surya Paolo
2024-03-21 22:58:52 +01:00
parent 831ffcc8bf
commit 44ee68f8c6
3 changed files with 24 additions and 5 deletions

View File

@@ -98,8 +98,8 @@ export default defineComponent({
// Carica il profilo di quest'utente
if (username.value) {
await userStore.loadUserProfile({ username: username.value, idnotif: idnotif.value }).then((ris) => {
console.log('loadUserProfile = ', ris)
await userStore.loadUserActivities({ username: username.value, idnotif: idnotif.value }).then((ris) => {
// console.log('loadUserProfile = ', ris)
myuser.value = ris
if (myuser.value) {
// filtro_eventi.value = [{ userId: myuser.value._id }, { dateTimeStart: { $gte: today } }]