Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-jams
Commits
39ef8ec2
Commit
39ef8ec2
authored
1 year ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
contacts: only list non removed contacts
GitLab:
#123
Change-Id: I9b889a51914e2ea0ac1e7da567bafe0508db695b
parent
26ede287
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jams-react-client/src/views/Contacts/Contacts.tsx
+3
-1
3 additions, 1 deletion
jams-react-client/src/views/Contacts/Contacts.tsx
with
3 additions
and
1 deletion
jams-react-client/src/views/Contacts/Contacts.tsx
+
3
−
1
View file @
39ef8ec2
...
...
@@ -155,7 +155,9 @@ export default function Users(props) {
TODO: Include the username of the user of which we want to display contacts
at the moment the admin sees his contacts in each user profile he visits
*/
const
originalContacts
=
response
.
data
;
const
originalContacts
=
response
.
data
.
filter
(
(
contact
)
=>
contact
.
added
>=
0
);
for
(
const
contact
of
originalContacts
)
{
contact
.
display
=
""
;
axios
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment