{"action":"created","comment":{"url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/comments/190669967","pull_request_review_id":123097243,"id":190669967,"diff_hunk":"@@ -34,7 +37,10 @@ class ClientTab extends Component {\n   filterCards() {\n     const input = this.state.filterInput.toLowerCase();\n     const tempArr = this.props.clients;\n-    const newArr = tempArr.filter((value) => value.client_name.toLowerCase().startsWith(input));\n+    const newArr = tempArr.filter((value) => {","path":"client/src/components/dashPage/clientTab.jsx","position":15,"original_position":15,"commit_id":"b5990a281efdb0ee4d123a3e8195cef81710094c","original_commit_id":"b5990a281efdb0ee4d123a3e8195cef81710094c","user":{"login":"zgallagher08","id":12788904,"avatar_url":"https://avatars1.githubusercontent.com/u/12788904?v=4","gravatar_id":"","url":"https://api.github.com/users/zgallagher08","html_url":"https://github.com/zgallagher08","followers_url":"https://api.github.com/users/zgallagher08/followers","following_url":"https://api.github.com/users/zgallagher08/following{/other_user}","gists_url":"https://api.github.com/users/zgallagher08/gists{/gist_id}","starred_url":"https://api.github.com/users/zgallagher08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgallagher08/subscriptions","organizations_url":"https://api.github.com/users/zgallagher08/orgs","repos_url":"https://api.github.com/users/zgallagher08/repos","events_url":"https://api.github.com/users/zgallagher08/events{/privacy}","received_events_url":"https://api.github.com/users/zgallagher08/received_events","type":"User","site_admin":false},"body":"wrap in conditional if there no are clients then don't filter anything","created_at":"2018-05-24T17:33:45Z","updated_at":"2018-05-24T17:33:45Z","html_url":"https://github.com/BoostPT/boostPT-ui/pull/37#discussion_r190669967","pull_request_url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/comments/190669967"},"html":{"href":"https://github.com/BoostPT/boostPT-ui/pull/37#discussion_r190669967"},"pull_request":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37","id":190357807,"html_url":"https://github.com/BoostPT/boostPT-ui/pull/37","diff_url":"https://github.com/BoostPT/boostPT-ui/pull/37.diff","patch_url":"https://github.com/BoostPT/boostPT-ui/pull/37.patch","issue_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/37","number":37,"state":"open","locked":false,"title":"Feat/client tab","user":{"login":"jaba9531","id":25733901,"avatar_url":"https://avatars1.githubusercontent.com/u/25733901?v=4","gravatar_id":"","url":"https://api.github.com/users/jaba9531","html_url":"https://github.com/jaba9531","followers_url":"https://api.github.com/users/jaba9531/followers","following_url":"https://api.github.com/users/jaba9531/following{/other_user}","gists_url":"https://api.github.com/users/jaba9531/gists{/gist_id}","starred_url":"https://api.github.com/users/jaba9531/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaba9531/subscriptions","organizations_url":"https://api.github.com/users/jaba9531/orgs","repos_url":"https://api.github.com/users/jaba9531/repos","events_url":"https://api.github.com/users/jaba9531/events{/privacy}","received_events_url":"https://api.github.com/users/jaba9531/received_events","type":"User","site_admin":false},"body":"- Client cards show different icons depending on status of account\r\n- On Client card click, trainer is routed to client's bio page\r\n- Bug fix, request trainer button now only renders on trainer bios\r\n- Small styling changes","created_at":"2018-05-24T17:01:35Z","updated_at":"2018-05-24T17:33:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a6246fa59fb783eacb83e684de5ac4b486deff6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37/commits","review_comments_url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37/comments","review_comment_url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/37/comments","statuses_url":"https://api.github.com/repos/BoostPT/boostPT-ui/statuses/b5990a281efdb0ee4d123a3e8195cef81710094c","head":{"label":"BoostPT:feat/client_tab","ref":"feat/client_tab","sha":"b5990a281efdb0ee4d123a3e8195cef81710094c","user":{"login":"BoostPT","id":38897036,"avatar_url":"https://avatars1.githubusercontent.com/u/38897036?v=4","gravatar_id":"","url":"https://api.github.com/users/BoostPT","html_url":"https://github.com/BoostPT","followers_url":"https://api.github.com/users/BoostPT/followers","following_url":"https://api.github.com/users/BoostPT/following{/other_user}","gists_url":"https://api.github.com/users/BoostPT/gists{/gist_id}","starred_url":"https://api.github.com/users/BoostPT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoostPT/subscriptions","organizations_url":"https://api.github.com/users/BoostPT/orgs","repos_url":"https://api.github.com/users/BoostPT/repos","events_url":"https://api.github.com/users/BoostPT/events{/privacy}","received_events_url":"https://api.github.com/users/BoostPT/received_events","type":"Organization","site_admin":false},"repo":{"id":131786166,"name":"boostPT-ui","full_name":"BoostPT/boostPT-ui","owner":{"login":"BoostPT","id":38897036,"avatar_url":"https://avatars1.githubusercontent.com/u/38897036?v=4","gravatar_id":"","url":"https://api.github.com/users/BoostPT","html_url":"https://github.com/BoostPT","followers_url":"https://api.github.com/users/BoostPT/followers","following_url":"https://api.github.com/users/BoostPT/following{/other_user}","gists_url":"https://api.github.com/users/BoostPT/gists{/gist_id}","starred_url":"https://api.github.com/users/BoostPT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoostPT/subscriptions","organizations_url":"https://api.github.com/users/BoostPT/orgs","repos_url":"https://api.github.com/users/BoostPT/repos","events_url":"https://api.github.com/users/BoostPT/events{/privacy}","received_events_url":"https://api.github.com/users/BoostPT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BoostPT/boostPT-ui","description":null,"fork":false,"url":"https://api.github.com/repos/BoostPT/boostPT-ui","forks_url":"https://api.github.com/repos/BoostPT/boostPT-ui/forks","keys_url":"https://api.github.com/repos/BoostPT/boostPT-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoostPT/boostPT-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoostPT/boostPT-ui/teams","hooks_url":"https://api.github.com/repos/BoostPT/boostPT-ui/hooks","issue_events_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/events{/number}","events_url":"https://api.github.com/repos/BoostPT/boostPT-ui/events","assignees_url":"https://api.github.com/repos/BoostPT/boostPT-ui/assignees{/user}","branches_url":"https://api.github.com/repos/BoostPT/boostPT-ui/branches{/branch}","tags_url":"https://api.github.com/repos/BoostPT/boostPT-ui/tags","blobs_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoostPT/boostPT-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/BoostPT/boostPT-ui/languages","stargazers_url":"https://api.github.com/repos/BoostPT/boostPT-ui/stargazers","contributors_url":"https://api.github.com/repos/BoostPT/boostPT-ui/contributors","subscribers_url":"https://api.github.com/repos/BoostPT/boostPT-ui/subscribers","subscription_url":"https://api.github.com/repos/BoostPT/boostPT-ui/subscription","commits_url":"https://api.github.com/repos/BoostPT/boostPT-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoostPT/boostPT-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoostPT/boostPT-ui/contents/{+path}","compare_url":"https://api.github.com/repos/BoostPT/boostPT-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoostPT/boostPT-ui/merges","archive_url":"https://api.github.com/repos/BoostPT/boostPT-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoostPT/boostPT-ui/downloads","issues_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues{/number}","pulls_url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/BoostPT/boostPT-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/BoostPT/boostPT-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoostPT/boostPT-ui/labels{/name}","releases_url":"https://api.github.com/repos/BoostPT/boostPT-ui/releases{/id}","deployments_url":"https://api.github.com/repos/BoostPT/boostPT-ui/deployments","created_at":"2018-05-02T02:14:53Z","updated_at":"2018-05-24T16:08:06Z","pushed_at":"2018-05-24T17:01:36Z","git_url":"git://github.com/BoostPT/boostPT-ui.git","ssh_url":"git@github.com:BoostPT/boostPT-ui.git","clone_url":"https://github.com/BoostPT/boostPT-ui.git","svn_url":"https://github.com/BoostPT/boostPT-ui","homepage":null,"size":451,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"BoostPT:master","ref":"master","sha":"65787e4c8069185d36eabe31cfcf3073f37ce594","user":{"login":"BoostPT","id":38897036,"avatar_url":"https://avatars1.githubusercontent.com/u/38897036?v=4","gravatar_id":"","url":"https://api.github.com/users/BoostPT","html_url":"https://github.com/BoostPT","followers_url":"https://api.github.com/users/BoostPT/followers","following_url":"https://api.github.com/users/BoostPT/following{/other_user}","gists_url":"https://api.github.com/users/BoostPT/gists{/gist_id}","starred_url":"https://api.github.com/users/BoostPT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoostPT/subscriptions","organizations_url":"https://api.github.com/users/BoostPT/orgs","repos_url":"https://api.github.com/users/BoostPT/repos","events_url":"https://api.github.com/users/BoostPT/events{/privacy}","received_events_url":"https://api.github.com/users/BoostPT/received_events","type":"Organization","site_admin":false},"repo":{"id":131786166,"name":"boostPT-ui","full_name":"BoostPT/boostPT-ui","owner":{"login":"BoostPT","id":38897036,"avatar_url":"https://avatars1.githubusercontent.com/u/38897036?v=4","gravatar_id":"","url":"https://api.github.com/users/BoostPT","html_url":"https://github.com/BoostPT","followers_url":"https://api.github.com/users/BoostPT/followers","following_url":"https://api.github.com/users/BoostPT/following{/other_user}","gists_url":"https://api.github.com/users/BoostPT/gists{/gist_id}","starred_url":"https://api.github.com/users/BoostPT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoostPT/subscriptions","organizations_url":"https://api.github.com/users/BoostPT/orgs","repos_url":"https://api.github.com/users/BoostPT/repos","events_url":"https://api.github.com/users/BoostPT/events{/privacy}","received_events_url":"https://api.github.com/users/BoostPT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BoostPT/boostPT-ui","description":null,"fork":false,"url":"https://api.github.com/repos/BoostPT/boostPT-ui","forks_url":"https://api.github.com/repos/BoostPT/boostPT-ui/forks","keys_url":"https://api.github.com/repos/BoostPT/boostPT-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoostPT/boostPT-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoostPT/boostPT-ui/teams","hooks_url":"https://api.github.com/repos/BoostPT/boostPT-ui/hooks","issue_events_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/events{/number}","events_url":"https://api.github.com/repos/BoostPT/boostPT-ui/events","assignees_url":"https://api.github.com/repos/BoostPT/boostPT-ui/assignees{/user}","branches_url":"https://api.github.com/repos/BoostPT/boostPT-ui/branches{/branch}","tags_url":"https://api.github.com/repos/BoostPT/boostPT-ui/tags","blobs_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoostPT/boostPT-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/BoostPT/boostPT-ui/languages","stargazers_url":"https://api.github.com/repos/BoostPT/boostPT-ui/stargazers","contributors_url":"https://api.github.com/repos/BoostPT/boostPT-ui/contributors","subscribers_url":"https://api.github.com/repos/BoostPT/boostPT-ui/subscribers","subscription_url":"https://api.github.com/repos/BoostPT/boostPT-ui/subscription","commits_url":"https://api.github.com/repos/BoostPT/boostPT-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoostPT/boostPT-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoostPT/boostPT-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoostPT/boostPT-ui/contents/{+path}","compare_url":"https://api.github.com/repos/BoostPT/boostPT-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoostPT/boostPT-ui/merges","archive_url":"https://api.github.com/repos/BoostPT/boostPT-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoostPT/boostPT-ui/downloads","issues_url":"https://api.github.com/repos/BoostPT/boostPT-ui/issues{/number}","pulls_url":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/BoostPT/boostPT-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/BoostPT/boostPT-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoostPT/boostPT-ui/labels{/name}","releases_url":"https://api.github.com/repos/BoostPT/boostPT-ui/releases{/id}","deployments_url":"https://api.github.com/repos/BoostPT/boostPT-ui/deployments","created_at":"2018-05-02T02:14:53Z","updated_at":"2018-05-24T16:08:06Z","pushed_at":"2018-05-24T17:01:36Z","git_url":"git://github.com/BoostPT/boostPT-ui.git","ssh_url":"git@github.com:BoostPT/boostPT-ui.git","clone_url":"https://github.com/BoostPT/boostPT-ui.git","svn_url":"https://github.com/BoostPT/boostPT-ui","homepage":null,"size":451,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37"},"html":{"href":"https://github.com/BoostPT/boostPT-ui/pull/37"},"issue":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/37"},"comments":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/BoostPT/boostPT-ui/statuses/b5990a281efdb0ee4d123a3e8195cef81710094c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zgallagher08"}}