Skip to content
Snippets Groups Projects
Commit 9022cb6b authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Removed account from member list

parent f1f2d069
No related branches found
No related tags found
1 merge request!163User card fix
......@@ -3,6 +3,7 @@
Displays a user's profile picture, name, rating and some
buttons based on where the list is being shown. -->
<div
v-if="userID != user.userId"
class="bg-white shadow dark:bg-gray-800 select-none cursor-pointer hover:bg-gray-50 flex items-center p-4"
>
<!-- User image -->
......@@ -67,6 +68,7 @@ import RatingComponent from "@/components/UserProfileComponents/RatingComponents
import IconButton from "@/components/BaseComponents/IconButton.vue";
import UserService from "@/services/user.service";
import CommunityAdminService from "@/services/community-admin.service";
import { parseCurrentUser } from "@/utils/token-utils";
import {
ChatIcon,
......@@ -99,6 +101,9 @@ export default {
buttons: Array,
},
computed: {
userID() {
return parseCurrentUser().accountId;
},
/**
* returns the user's profile picture. If the user does not have any
* profile picture the default profile picture is returned.
......
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