We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b4cb9 commit 0d1f14eCopy full SHA for 0d1f14e
src/views/ProfileView.vue
@@ -59,7 +59,9 @@ export default defineComponent({
59
onValue(userGroupsRef, (snapshot) => {
60
const data = snapshot.val() || {}
61
const destructure = ([groupId, group]) => ({ groupId, ...group })
62
- this.userGroups = Object.entries(data).map(destructure)
+ this.userGroups = Object.entries(data)
63
+ .map(destructure)
64
+ .filter((g) => g.archivedAt === undefined)
65
this.bindUserGroupsOfUser()
66
})
67
},
0 commit comments