Skip to content

Commit 2fa15ac

Browse files
authored
chore: codegen (#73)
1 parent 99e0204 commit 2fa15ac

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

components/PlayerDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ import { Ban, MicOff, MessageSquareOff, UserPlus } from "lucide-vue-next";
102102
</div>
103103
</div>
104104
<slot name="name-postfix"></slot>
105-
<TooltipProvider v-if="!isMe && showAddFriend && !isFriend">
105+
<TooltipProvider v-if="!isMe && showAddFriend && !isFriend && player?.steam_id">
106106
<Tooltip>
107107
<TooltipTrigger>
108108
<UserPlus

components/matchmaking-lobby/FriendsList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export default {
304304
},
305305
pendingFriends() {
306306
return this.friends?.filter((friend) => {
307-
return friend.status === "Pending";
307+
return friend.status === "Pending" && friend.invited_by_steam_id !== this.me?.steam_id;
308308
});
309309
},
310310
},

layouts/components/AppNav.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ import ChatLobby from "~/components/chat/ChatLobby.vue";
541541

542542
<SidebarGroup v-if="me.current_lobby_id" class="overflow-hidden">
543543
<SidebarSeparator class="my-4" />
544-
545544
<FriendsList :mini="!rightSidebarOpen" />
546545
</SidebarGroup>
547546
</SidebarContent>

0 commit comments

Comments
 (0)