{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/9071","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/9071/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/9071/comments","events_url":"https://api.github.com/repos/angular/material/issues/9071/events","html_url":"https://github.com/angular/material/pull/9071","id":166245060,"number":9071,"title":"fix(nav-bar): null check tabs when updating nav-bar","user":{"login":"SamDLT","id":1041613,"avatar_url":"https://avatars.githubusercontent.com/u/1041613?v=3","gravatar_id":"","url":"https://api.github.com/users/SamDLT","html_url":"https://github.com/SamDLT","followers_url":"https://api.github.com/users/SamDLT/followers","following_url":"https://api.github.com/users/SamDLT/following{/other_user}","gists_url":"https://api.github.com/users/SamDLT/gists{/gist_id}","starred_url":"https://api.github.com/users/SamDLT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamDLT/subscriptions","organizations_url":"https://api.github.com/users/SamDLT/orgs","repos_url":"https://api.github.com/users/SamDLT/repos","events_url":"https://api.github.com/users/SamDLT/events{/privacy}","received_events_url":"https://api.github.com/users/SamDLT/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/needs:%20review","name":"needs: review","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"bradrich","id":3429878,"avatar_url":"https://avatars.githubusercontent.com/u/3429878?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrich","html_url":"https://github.com/bradrich","followers_url":"https://api.github.com/users/bradrich/followers","following_url":"https://api.github.com/users/bradrich/following{/other_user}","gists_url":"https://api.github.com/users/bradrich/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrich/subscriptions","organizations_url":"https://api.github.com/users/bradrich/orgs","repos_url":"https://api.github.com/users/bradrich/repos","events_url":"https://api.github.com/users/bradrich/events{/privacy}","received_events_url":"https://api.github.com/users/bradrich/received_events","type":"User","site_admin":false},"assignees":[{"login":"bradrich","id":3429878,"avatar_url":"https://avatars.githubusercontent.com/u/3429878?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrich","html_url":"https://github.com/bradrich","followers_url":"https://api.github.com/users/bradrich/followers","following_url":"https://api.github.com/users/bradrich/following{/other_user}","gists_url":"https://api.github.com/users/bradrich/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrich/subscriptions","organizations_url":"https://api.github.com/users/bradrich/orgs","repos_url":"https://api.github.com/users/bradrich/repos","events_url":"https://api.github.com/users/bradrich/events{/privacy}","received_events_url":"https://api.github.com/users/bradrich/received_events","type":"User","site_admin":false},{"login":"clshortfuse","id":9271155,"avatar_url":"https://avatars.githubusercontent.com/u/9271155?v=3","gravatar_id":"","url":"https://api.github.com/users/clshortfuse","html_url":"https://github.com/clshortfuse","followers_url":"https://api.github.com/users/clshortfuse/followers","following_url":"https://api.github.com/users/clshortfuse/following{/other_user}","gists_url":"https://api.github.com/users/clshortfuse/gists{/gist_id}","starred_url":"https://api.github.com/users/clshortfuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clshortfuse/subscriptions","organizations_url":"https://api.github.com/users/clshortfuse/orgs","repos_url":"https://api.github.com/users/clshortfuse/repos","events_url":"https://api.github.com/users/clshortfuse/events{/privacy}","received_events_url":"https://api.github.com/users/clshortfuse/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-07-19T04:24:12Z","updated_at":"2016-09-10T15:53:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular/material/pulls/9071","html_url":"https://github.com/angular/material/pull/9071","diff_url":"https://github.com/angular/material/pull/9071.diff","patch_url":"https://github.com/angular/material/pull/9071.patch"},"body":"It is possible that _getTabs returns an array of undefined when mapping over linkArray as .controller('mdNavItem') can return undefined if it cannot find the corresponding controller which will cause an error to be shown in the console during the digest cycle.\r\n\r\nThis change assures that we do not attempt to update the tabs in the case that tabs is an undefined array."},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/246119312","html_url":"https://github.com/angular/material/pull/9071#issuecomment-246119312","issue_url":"https://api.github.com/repos/angular/material/issues/9071","id":246119312,"user":{"login":"SamDLT","id":1041613,"avatar_url":"https://avatars.githubusercontent.com/u/1041613?v=3","gravatar_id":"","url":"https://api.github.com/users/SamDLT","html_url":"https://github.com/SamDLT","followers_url":"https://api.github.com/users/SamDLT/followers","following_url":"https://api.github.com/users/SamDLT/following{/other_user}","gists_url":"https://api.github.com/users/SamDLT/gists{/gist_id}","starred_url":"https://api.github.com/users/SamDLT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamDLT/subscriptions","organizations_url":"https://api.github.com/users/SamDLT/orgs","repos_url":"https://api.github.com/users/SamDLT/repos","events_url":"https://api.github.com/users/SamDLT/events{/privacy}","received_events_url":"https://api.github.com/users/SamDLT/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T15:53:24Z","updated_at":"2016-09-10T15:53:24Z","body":"@gmoothart @clshortfuse Thanks for taking a look at this guys. I'll address the comments either tomorrow or Monday."}}
{"actor":{"display_login":"SamDLT"}}