{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/93817146","pull_request_review_id":14353509,"id":93817146,"diff_hunk":"@@ -22,7 +22,9 @@ Vue.component('event-box', {\n             return moment(this.event.start_time).format('ddd, MMM DD HH:mm A');\n         },\n         locationName: function () {\n-            return this.event.location_name.split(\",\")[0];\n+            if (this.event.location_name) {","path":"app/static/js/admin/guest/explore/event-box-component.js","position":5,"original_position":5,"commit_id":"ef49f101dfeb2ffafbf2f62cb5e68864db60e45a","original_commit_id":"ef49f101dfeb2ffafbf2f62cb5e68864db60e45a","user":{"login":"SaptakS","id":9530293,"avatar_url":"https://avatars.githubusercontent.com/u/9530293?v=3","gravatar_id":"","url":"https://api.github.com/users/SaptakS","html_url":"https://github.com/SaptakS","followers_url":"https://api.github.com/users/SaptakS/followers","following_url":"https://api.github.com/users/SaptakS/following{/other_user}","gists_url":"https://api.github.com/users/SaptakS/gists{/gist_id}","starred_url":"https://api.github.com/users/SaptakS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaptakS/subscriptions","organizations_url":"https://api.github.com/users/SaptakS/orgs","repos_url":"https://api.github.com/users/SaptakS/repos","events_url":"https://api.github.com/users/SaptakS/events{/privacy}","received_events_url":"https://api.github.com/users/SaptakS/received_events","type":"User","site_admin":false},"body":"Does this check for both `null` and `undefined`. Did you try that?","created_at":"2016-12-24T13:26:31Z","updated_at":"2016-12-24T13:26:35Z","html_url":"https://github.com/fossasia/open-event-orga-server/pull/2710#discussion_r93817146","pull_request_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/93817146"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/2710#discussion_r93817146"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710","id":99275894,"html_url":"https://github.com/fossasia/open-event-orga-server/pull/2710","diff_url":"https://github.com/fossasia/open-event-orga-server/pull/2710.diff","patch_url":"https://github.com/fossasia/open-event-orga-server/pull/2710.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2710","number":2710,"state":"open","locked":false,"title":"changes for event box component","user":{"login":"nikhilrayaprolu","id":15216503,"avatar_url":"https://avatars.githubusercontent.com/u/15216503?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilrayaprolu","html_url":"https://github.com/nikhilrayaprolu","followers_url":"https://api.github.com/users/nikhilrayaprolu/followers","following_url":"https://api.github.com/users/nikhilrayaprolu/following{/other_user}","gists_url":"https://api.github.com/users/nikhilrayaprolu/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilrayaprolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilrayaprolu/subscriptions","organizations_url":"https://api.github.com/users/nikhilrayaprolu/orgs","repos_url":"https://api.github.com/users/nikhilrayaprolu/repos","events_url":"https://api.github.com/users/nikhilrayaprolu/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilrayaprolu/received_events","type":"User","site_admin":false},"body":"In reference to #2692 @niranjan94 ","created_at":"2016-12-23T19:41:25Z","updated_at":"2016-12-24T13:26:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"963aadf20432e56abf0f66ac2ccba5571beabe40","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2710/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/ef49f101dfeb2ffafbf2f62cb5e68864db60e45a","head":{"label":"nikhilrayaprolu:eventboxerror","ref":"eventboxerror","sha":"ef49f101dfeb2ffafbf2f62cb5e68864db60e45a","user":{"login":"nikhilrayaprolu","id":15216503,"avatar_url":"https://avatars.githubusercontent.com/u/15216503?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilrayaprolu","html_url":"https://github.com/nikhilrayaprolu","followers_url":"https://api.github.com/users/nikhilrayaprolu/followers","following_url":"https://api.github.com/users/nikhilrayaprolu/following{/other_user}","gists_url":"https://api.github.com/users/nikhilrayaprolu/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilrayaprolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilrayaprolu/subscriptions","organizations_url":"https://api.github.com/users/nikhilrayaprolu/orgs","repos_url":"https://api.github.com/users/nikhilrayaprolu/repos","events_url":"https://api.github.com/users/nikhilrayaprolu/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilrayaprolu/received_events","type":"User","site_admin":false},"repo":{"id":77213807,"name":"open-event-orga-server","full_name":"nikhilrayaprolu/open-event-orga-server","owner":{"login":"nikhilrayaprolu","id":15216503,"avatar_url":"https://avatars.githubusercontent.com/u/15216503?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilrayaprolu","html_url":"https://github.com/nikhilrayaprolu","followers_url":"https://api.github.com/users/nikhilrayaprolu/followers","following_url":"https://api.github.com/users/nikhilrayaprolu/following{/other_user}","gists_url":"https://api.github.com/users/nikhilrayaprolu/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilrayaprolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilrayaprolu/subscriptions","organizations_url":"https://api.github.com/users/nikhilrayaprolu/orgs","repos_url":"https://api.github.com/users/nikhilrayaprolu/repos","events_url":"https://api.github.com/users/nikhilrayaprolu/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilrayaprolu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikhilrayaprolu/open-event-orga-server","description":"The Open Event Organizer Server to Manage Events","fork":true,"url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server","forks_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/nikhilrayaprolu/open-event-orga-server/deployments","created_at":"2016-12-23T09:16:29Z","updated_at":"2016-12-23T09:16:34Z","pushed_at":"2016-12-24T06:58:03Z","git_url":"git://github.com/nikhilrayaprolu/open-event-orga-server.git","ssh_url":"git@github.com:nikhilrayaprolu/open-event-orga-server.git","clone_url":"https://github.com/nikhilrayaprolu/open-event-orga-server.git","svn_url":"https://github.com/nikhilrayaprolu/open-event-orga-server","homepage":"https://open-event-dev.herokuapp.com","size":38590,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"1585d6f8de0affa3cb76f33fe50fdc4c246ee1d4","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35270176,"name":"open-event-orga-server","full_name":"fossasia/open-event-orga-server","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-orga-server","description":"The Open Event Organizer Server to Manage Events","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-orga-server","forks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/deployments","created_at":"2015-05-08T09:16:19Z","updated_at":"2016-12-24T11:24:20Z","pushed_at":"2016-12-24T07:46:50Z","git_url":"git://github.com/fossasia/open-event-orga-server.git","ssh_url":"git@github.com:fossasia/open-event-orga-server.git","clone_url":"https://github.com/fossasia/open-event-orga-server.git","svn_url":"https://github.com/fossasia/open-event-orga-server","homepage":"https://open-event-dev.herokuapp.com","size":38596,"stargazers_count":172,"watchers_count":172,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":195,"mirror_url":null,"open_issues_count":34,"forks":195,"open_issues":34,"watchers":172,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/2710"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2710"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2710/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2710/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/ef49f101dfeb2ffafbf2f62cb5e68864db60e45a"}}}}
{"actor":{"display_login":"SaptakS"}}