{"action":"created","issue":{"url":"https://api.github.com/repos/axiommike/smart-app/issues/7","repository_url":"https://api.github.com/repos/axiommike/smart-app","labels_url":"https://api.github.com/repos/axiommike/smart-app/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/axiommike/smart-app/issues/7/comments","events_url":"https://api.github.com/repos/axiommike/smart-app/issues/7/events","html_url":"https://github.com/axiommike/smart-app/issues/7","id":195618723,"number":7,"title":"\"Total employment history: NaN years\" Fix the NaN years label.","user":{"login":"ericmaicon","id":1010637,"avatar_url":"https://avatars.githubusercontent.com/u/1010637?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmaicon","html_url":"https://github.com/ericmaicon","followers_url":"https://api.github.com/users/ericmaicon/followers","following_url":"https://api.github.com/users/ericmaicon/following{/other_user}","gists_url":"https://api.github.com/users/ericmaicon/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmaicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmaicon/subscriptions","organizations_url":"https://api.github.com/users/ericmaicon/orgs","repos_url":"https://api.github.com/users/ericmaicon/repos","events_url":"https://api.github.com/users/ericmaicon/events{/privacy}","received_events_url":"https://api.github.com/users/ericmaicon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rwwagner90","id":2640861,"avatar_url":"https://avatars.githubusercontent.com/u/2640861?v=3","gravatar_id":"","url":"https://api.github.com/users/rwwagner90","html_url":"https://github.com/rwwagner90","followers_url":"https://api.github.com/users/rwwagner90/followers","following_url":"https://api.github.com/users/rwwagner90/following{/other_user}","gists_url":"https://api.github.com/users/rwwagner90/gists{/gist_id}","starred_url":"https://api.github.com/users/rwwagner90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwwagner90/subscriptions","organizations_url":"https://api.github.com/users/rwwagner90/orgs","repos_url":"https://api.github.com/users/rwwagner90/repos","events_url":"https://api.github.com/users/rwwagner90/events{/privacy}","received_events_url":"https://api.github.com/users/rwwagner90/received_events","type":"User","site_admin":false},"assignees":[{"login":"rwwagner90","id":2640861,"avatar_url":"https://avatars.githubusercontent.com/u/2640861?v=3","gravatar_id":"","url":"https://api.github.com/users/rwwagner90","html_url":"https://github.com/rwwagner90","followers_url":"https://api.github.com/users/rwwagner90/followers","following_url":"https://api.github.com/users/rwwagner90/following{/other_user}","gists_url":"https://api.github.com/users/rwwagner90/gists{/gist_id}","starred_url":"https://api.github.com/users/rwwagner90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwwagner90/subscriptions","organizations_url":"https://api.github.com/users/rwwagner90/orgs","repos_url":"https://api.github.com/users/rwwagner90/repos","events_url":"https://api.github.com/users/rwwagner90/events{/privacy}","received_events_url":"https://api.github.com/users/rwwagner90/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-14T19:11:21Z","updated_at":"2016-12-15T02:06:32Z","closed_at":null,"body":"**Explanation:** In the very first page, fill every field and click on \"COMPLETE FULL APPLICATION\". It will redirect you to the applicant route.\r\nhttp://smartapp.axiomdev.ca/\r\nAdd a previous employment.\r\n\r\n**Error:** You may see the following message: ` Total employment history: NaN years`\r\nThe logic is here: \r\nhttps://github.com/axiommike/smart-app/blob/master/app/components/employment-table.js#L10\r\nI might missed something while I was reviewing/changing the logic.\r\n**Expected:** Return the amount of tenure_years of all employments"},"comment":{"url":"https://api.github.com/repos/axiommike/smart-app/issues/comments/267216117","html_url":"https://github.com/axiommike/smart-app/issues/7#issuecomment-267216117","issue_url":"https://api.github.com/repos/axiommike/smart-app/issues/7","id":267216117,"user":{"login":"rwwagner90","id":2640861,"avatar_url":"https://avatars.githubusercontent.com/u/2640861?v=3","gravatar_id":"","url":"https://api.github.com/users/rwwagner90","html_url":"https://github.com/rwwagner90","followers_url":"https://api.github.com/users/rwwagner90/followers","following_url":"https://api.github.com/users/rwwagner90/following{/other_user}","gists_url":"https://api.github.com/users/rwwagner90/gists{/gist_id}","starred_url":"https://api.github.com/users/rwwagner90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwwagner90/subscriptions","organizations_url":"https://api.github.com/users/rwwagner90/orgs","repos_url":"https://api.github.com/users/rwwagner90/repos","events_url":"https://api.github.com/users/rwwagner90/events{/privacy}","received_events_url":"https://api.github.com/users/rwwagner90/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T02:06:32Z","updated_at":"2016-12-15T02:06:32Z","body":"@ericmaicon I noticed when fixing the NaN issue that currentEmployment is not factored in to the number of years because it is not in the `employments` array. Do we want to factor it in as well or is the total just supposed to be for previous employments, not current?"}}
{"actor":{"display_login":"rwwagner90"}}