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

fix admin check method

parent 31668ba1
No related branches found
No related tags found
2 merge requests!87Community request,!86Community admin
......@@ -60,7 +60,9 @@ export default {
},
},
mounted() {
this.admin = CommunityAdminService.isUserAdmin();
this.admin = CommunityAdminService.isUserAdmin(
this.$route.params.communityID
);
},
};
</script>
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