{"action":"closed","number":158,"pull_request":{"url":"https://api.github.com/repos/crdschurch/crds-components/pulls/158","id":325810310,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI1ODEwMzEw","html_url":"https://github.com/crdschurch/crds-components/pull/158","diff_url":"https://github.com/crdschurch/crds-components/pull/158.diff","patch_url":"https://github.com/crdschurch/crds-components/pull/158.patch","issue_url":"https://api.github.com/repos/crdschurch/crds-components/issues/158","number":158,"state":"closed","locked":false,"title":"DE7224 \".remove\" error","user":{"login":"silasbaur","id":32345656,"node_id":"MDQ6VXNlcjMyMzQ1NjU2","avatar_url":"https://avatars3.githubusercontent.com/u/32345656?v=4","gravatar_id":"","url":"https://api.github.com/users/silasbaur","html_url":"https://github.com/silasbaur","followers_url":"https://api.github.com/users/silasbaur/followers","following_url":"https://api.github.com/users/silasbaur/following{/other_user}","gists_url":"https://api.github.com/users/silasbaur/gists{/gist_id}","starred_url":"https://api.github.com/users/silasbaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silasbaur/subscriptions","organizations_url":"https://api.github.com/users/silasbaur/orgs","repos_url":"https://api.github.com/users/silasbaur/repos","events_url":"https://api.github.com/users/silasbaur/events{/privacy}","received_events_url":"https://api.github.com/users/silasbaur/received_events","type":"User","site_admin":false},"body":"## Problem \r\nThe following line is throwing a TypeError and its breaking some things in production\r\n![image](https://user-images.githubusercontent.com/32345656/66405791-a56ab980-e9b8-11e9-9fa1-0185893d4202.png)\r\n\r\n## Solution \r\nI added an if statement to `.remove()`, so that when the SVG is undefined it does not run `.remove()`\r\n","created_at":"2019-10-08T14:47:59Z","updated_at":"2019-10-08T17:52:39Z","closed_at":"2019-10-08T17:52:39Z","merged_at":"2019-10-08T17:52:39Z","merge_commit_sha":"6eaee96628c17909d9469f85829ce57912d6f198","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tcmacdonald","id":50378,"node_id":"MDQ6VXNlcjUwMzc4","avatar_url":"https://avatars1.githubusercontent.com/u/50378?v=4","gravatar_id":"","url":"https://api.github.com/users/tcmacdonald","html_url":"https://github.com/tcmacdonald","followers_url":"https://api.github.com/users/tcmacdonald/followers","following_url":"https://api.github.com/users/tcmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/tcmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/tcmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcmacdonald/subscriptions","organizations_url":"https://api.github.com/users/tcmacdonald/orgs","repos_url":"https://api.github.com/users/tcmacdonald/repos","events_url":"https://api.github.com/users/tcmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/tcmacdonald/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crdschurch/crds-components/pulls/158/commits","review_comments_url":"https://api.github.com/repos/crdschurch/crds-components/pulls/158/comments","review_comment_url":"https://api.github.com/repos/crdschurch/crds-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crdschurch/crds-components/issues/158/comments","statuses_url":"https://api.github.com/repos/crdschurch/crds-components/statuses/156159fedb5bc7f76c60a1a1093711f035b66602","head":{"label":"crdschurch:defect/DE7224","ref":"defect/DE7224","sha":"156159fedb5bc7f76c60a1a1093711f035b66602","user":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"repo":{"id":165882505,"node_id":"MDEwOlJlcG9zaXRvcnkxNjU4ODI1MDU=","name":"crds-components","full_name":"crdschurch/crds-components","private":false,"owner":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/crdschurch/crds-components","description":null,"fork":false,"url":"https://api.github.com/repos/crdschurch/crds-components","forks_url":"https://api.github.com/repos/crdschurch/crds-components/forks","keys_url":"https://api.github.com/repos/crdschurch/crds-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crdschurch/crds-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crdschurch/crds-components/teams","hooks_url":"https://api.github.com/repos/crdschurch/crds-components/hooks","issue_events_url":"https://api.github.com/repos/crdschurch/crds-components/issues/events{/number}","events_url":"https://api.github.com/repos/crdschurch/crds-components/events","assignees_url":"https://api.github.com/repos/crdschurch/crds-components/assignees{/user}","branches_url":"https://api.github.com/repos/crdschurch/crds-components/branches{/branch}","tags_url":"https://api.github.com/repos/crdschurch/crds-components/tags","blobs_url":"https://api.github.com/repos/crdschurch/crds-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crdschurch/crds-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crdschurch/crds-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/crdschurch/crds-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crdschurch/crds-components/statuses/{sha}","languages_url":"https://api.github.com/repos/crdschurch/crds-components/languages","stargazers_url":"https://api.github.com/repos/crdschurch/crds-components/stargazers","contributors_url":"https://api.github.com/repos/crdschurch/crds-components/contributors","subscribers_url":"https://api.github.com/repos/crdschurch/crds-components/subscribers","subscription_url":"https://api.github.com/repos/crdschurch/crds-components/subscription","commits_url":"https://api.github.com/repos/crdschurch/crds-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/crdschurch/crds-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/crdschurch/crds-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/crdschurch/crds-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/crdschurch/crds-components/contents/{+path}","compare_url":"https://api.github.com/repos/crdschurch/crds-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crdschurch/crds-components/merges","archive_url":"https://api.github.com/repos/crdschurch/crds-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crdschurch/crds-components/downloads","issues_url":"https://api.github.com/repos/crdschurch/crds-components/issues{/number}","pulls_url":"https://api.github.com/repos/crdschurch/crds-components/pulls{/number}","milestones_url":"https://api.github.com/repos/crdschurch/crds-components/milestones{/number}","notifications_url":"https://api.github.com/repos/crdschurch/crds-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crdschurch/crds-components/labels{/name}","releases_url":"https://api.github.com/repos/crdschurch/crds-components/releases{/id}","deployments_url":"https://api.github.com/repos/crdschurch/crds-components/deployments","created_at":"2019-01-15T16:12:37Z","updated_at":"2019-10-03T15:09:11Z","pushed_at":"2019-10-08T17:52:39Z","git_url":"git://github.com/crdschurch/crds-components.git","ssh_url":"git@github.com:crdschurch/crds-components.git","clone_url":"https://github.com/crdschurch/crds-components.git","svn_url":"https://github.com/crdschurch/crds-components","homepage":null,"size":6686,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"crdschurch:development","ref":"development","sha":"1dfd81249d858e47099d72daa89890f67728b413","user":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"repo":{"id":165882505,"node_id":"MDEwOlJlcG9zaXRvcnkxNjU4ODI1MDU=","name":"crds-components","full_name":"crdschurch/crds-components","private":false,"owner":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/crdschurch/crds-components","description":null,"fork":false,"url":"https://api.github.com/repos/crdschurch/crds-components","forks_url":"https://api.github.com/repos/crdschurch/crds-components/forks","keys_url":"https://api.github.com/repos/crdschurch/crds-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crdschurch/crds-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crdschurch/crds-components/teams","hooks_url":"https://api.github.com/repos/crdschurch/crds-components/hooks","issue_events_url":"https://api.github.com/repos/crdschurch/crds-components/issues/events{/number}","events_url":"https://api.github.com/repos/crdschurch/crds-components/events","assignees_url":"https://api.github.com/repos/crdschurch/crds-components/assignees{/user}","branches_url":"https://api.github.com/repos/crdschurch/crds-components/branches{/branch}","tags_url":"https://api.github.com/repos/crdschurch/crds-components/tags","blobs_url":"https://api.github.com/repos/crdschurch/crds-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crdschurch/crds-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crdschurch/crds-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/crdschurch/crds-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crdschurch/crds-components/statuses/{sha}","languages_url":"https://api.github.com/repos/crdschurch/crds-components/languages","stargazers_url":"https://api.github.com/repos/crdschurch/crds-components/stargazers","contributors_url":"https://api.github.com/repos/crdschurch/crds-components/contributors","subscribers_url":"https://api.github.com/repos/crdschurch/crds-components/subscribers","subscription_url":"https://api.github.com/repos/crdschurch/crds-components/subscription","commits_url":"https://api.github.com/repos/crdschurch/crds-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/crdschurch/crds-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/crdschurch/crds-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/crdschurch/crds-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/crdschurch/crds-components/contents/{+path}","compare_url":"https://api.github.com/repos/crdschurch/crds-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crdschurch/crds-components/merges","archive_url":"https://api.github.com/repos/crdschurch/crds-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crdschurch/crds-components/downloads","issues_url":"https://api.github.com/repos/crdschurch/crds-components/issues{/number}","pulls_url":"https://api.github.com/repos/crdschurch/crds-components/pulls{/number}","milestones_url":"https://api.github.com/repos/crdschurch/crds-components/milestones{/number}","notifications_url":"https://api.github.com/repos/crdschurch/crds-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crdschurch/crds-components/labels{/name}","releases_url":"https://api.github.com/repos/crdschurch/crds-components/releases{/id}","deployments_url":"https://api.github.com/repos/crdschurch/crds-components/deployments","created_at":"2019-01-15T16:12:37Z","updated_at":"2019-10-03T15:09:11Z","pushed_at":"2019-10-08T17:52:39Z","git_url":"git://github.com/crdschurch/crds-components.git","ssh_url":"git@github.com:crdschurch/crds-components.git","clone_url":"https://github.com/crdschurch/crds-components.git","svn_url":"https://github.com/crdschurch/crds-components","homepage":null,"size":6686,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/crdschurch/crds-components/pulls/158"},"html":{"href":"https://github.com/crdschurch/crds-components/pull/158"},"issue":{"href":"https://api.github.com/repos/crdschurch/crds-components/issues/158"},"comments":{"href":"https://api.github.com/repos/crdschurch/crds-components/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/crdschurch/crds-components/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/crdschurch/crds-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crdschurch/crds-components/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/crdschurch/crds-components/statuses/156159fedb5bc7f76c60a1a1093711f035b66602"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tcmacdonald","id":50378,"node_id":"MDQ6VXNlcjUwMzc4","avatar_url":"https://avatars1.githubusercontent.com/u/50378?v=4","gravatar_id":"","url":"https://api.github.com/users/tcmacdonald","html_url":"https://github.com/tcmacdonald","followers_url":"https://api.github.com/users/tcmacdonald/followers","following_url":"https://api.github.com/users/tcmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/tcmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/tcmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcmacdonald/subscriptions","organizations_url":"https://api.github.com/users/tcmacdonald/orgs","repos_url":"https://api.github.com/users/tcmacdonald/repos","events_url":"https://api.github.com/users/tcmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/tcmacdonald/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":34,"deletions":34,"changed_files":6}}
{"actor":{"display_login":"tcmacdonald"}}