Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetenstad committed Jan 30, 2024
1 parent 8441534 commit 5804017
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/PlayerSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
@click="select(user)"
>
{{ user.name }}
{{ useOnlineStore().usersOnline.has(user.id) ? '👋' : '' }}
{{
useOnlineStore().presences.find((p) => p.userId == user.id) ? '👋' : ''
}}
</button>
<p v-if="searchResultUsers.length == 0">No results 🤔</p>
</div>
Expand Down

0 comments on commit 5804017

Please sign in to comment.