Skip to content

Commit

Permalink
feat: make channel/group member list buttons clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Oct 29, 2023
1 parent b8adb81 commit 2ef6668
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/inbox/InboxDetailsGroupMembers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ list-disclosure(
)
list-button(
v-for="member in members"
@click="onMemberClick(member.jid)"
size="small"
class="c-inbox-details-group-members__member"
)
Expand Down Expand Up @@ -89,6 +90,13 @@ export default {

onToggle(visible: boolean): void {
Store.$layout.setInboxDetailsSectionMembers(visible);
},

onMemberClick(jid: JID): void {
this.$router.push({
name: "app.inbox",
params: { roomId: jid.toString() }
});
}
}
};
Expand Down

0 comments on commit 2ef6668

Please sign in to comment.