Skip to content

Commit 24257f8

Browse files
committed
add comment for redirect_uri & delete unused code
1 parent f522ef9 commit 24257f8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/components/specific/users/space-users-manager/SpaceUsersManager.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<div class="list-container">
3737
<transition-group name="list">
3838
<template v-for="user in displayedUsers">
39+
<!-- Render only pending invitations (those with redirect_uri because only not-yet-accepted invitations have this field) -->
3940
<InvitationCard
4041
v-if="user.redirect_uri"
4142
:key="`invitation-${user.id}`"
@@ -114,9 +115,6 @@ export default {
114115
);
115116
116117
const list = computed(() => {
117-
props.invitations.forEach((invitation) => {
118-
invitation.redirect_uri.includes("invitation");
119-
});
120118
if (currentTab.value === "admins") {
121119
return props.invitations
122120
.filter((invitation) => invitation.role === 100)

0 commit comments

Comments
 (0)