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

Fixed buttons on profile

parent 9022cb6b
No related branches found
No related tags found
1 merge request!163User card fix
Pipeline #182503 passed
......@@ -3,7 +3,6 @@
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 -->
......@@ -28,7 +27,7 @@
<!-- Buttons -->
<div class="flex flex-row gap-4">
<IconButton
v-if="buttons.includes('chat')"
v-if="buttons.includes('chat') && userID != user.userId"
@click="openChatWithUser()"
:text="'Chat'"
:buttonColor="'blue'"
......@@ -37,7 +36,7 @@
/></IconButton>
<IconButton
v-if="buttons.includes('kick')"
v-if="buttons.includes('kick') && userID != user.userId"
@click="kickUserFromCommunity()"
:buttonColor="'red'"
:text="'Spark'"
......
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