Skip to content

Commit

Permalink
While current_club is undefined display nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrloop committed Oct 28, 2021
1 parent fe7ca54 commit c7ac121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const displayEntrants = function(users, status='') {
const data = users.reduce((arr, user) => {
if(user.name) {
arr.push([user.name,
user.current_club,
user.current_club || '',
user.regional_rank === 999 ? '' : user.regional_rank,
user.national_rank === 999 ? '' : user.national_rank
]);
Expand Down

0 comments on commit c7ac121

Please sign in to comment.