Skip to content
Snippets Groups Projects
Commit d58d3a95 authored by Erik Borgeteien Hansen's avatar Erik Borgeteien Hansen
Browse files

move filter to later in lifecycle

parent 6137fcc5
No related branches found
No related tags found
2 merge requests!87Community request,!86Community admin
......@@ -42,7 +42,8 @@ export default {
if (!this.loggedIn) return;
this.myCommunities = await getMyGroups();
},
mounted() {
// Double loop is bad; find a better way to do this
for (var i = 0; i < this.publicCommunities.length; i++) {
for (var j = 0; j < this.myCommunities.length; j++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment