Skip to content

Commit

Permalink
fix(components): update 'participants' to 'users' in ServerMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
Ro0t-set committed May 21, 2024
1 parent 1e4d62e commit e2e015e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend-service/src/main/vue/api/piperchat/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export module GetServersApi {
name: string;
description: string;
owner: string;
participants: string[];
users: string[];
createdAt: Date;
channels: Channel[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ onMounted(() => {
<div class="text-h4">Partecipants</div>
<!-- Display only partecipants, not the owner -->
<q-list
v-for="user in appStore.selectedServer?.participants.filter(
v-for="user in appStore.selectedServer?.users.filter(
(p) => p !== userStore.username
)"
:key="user"
Expand Down

0 comments on commit e2e015e

Please sign in to comment.