Skip to content
Snippets Groups Projects
Commit ce314128 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Hide reader project role

parent db19c4c4
No related branches found
No related tags found
No related merge requests found
Pipeline #78108 passed with stages
in 6 minutes and 51 seconds
......@@ -203,10 +203,12 @@ export default {
})
},
projectGroups() {
return this.rawProjectGroups.map((group) => ({
role: group.project_role.name,
id: group.id,
}))
return this.rawProjectGroups
.map((group) => ({
role: group.project_role.name,
id: group.id,
}))
.filter((g) => g.role !== 'reader')
},
},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment