{"action":"created","issue":{"url":"https://api.github.com/repos/Talend/ui/issues/1183","repository_url":"https://api.github.com/repos/Talend/ui","labels_url":"https://api.github.com/repos/Talend/ui/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/Talend/ui/issues/1183/comments","events_url":"https://api.github.com/repos/Talend/ui/issues/1183/events","html_url":"https://github.com/Talend/ui/pull/1183","id":306526627,"number":1183,"title":"fix: add checking on instanceOf Array, and fix some prop-types","user":{"login":"VolodymyrKovalM","id":20522845,"avatar_url":"https://avatars1.githubusercontent.com/u/20522845?v=4","gravatar_id":"","url":"https://api.github.com/users/VolodymyrKovalM","html_url":"https://github.com/VolodymyrKovalM","followers_url":"https://api.github.com/users/VolodymyrKovalM/followers","following_url":"https://api.github.com/users/VolodymyrKovalM/following{/other_user}","gists_url":"https://api.github.com/users/VolodymyrKovalM/gists{/gist_id}","starred_url":"https://api.github.com/users/VolodymyrKovalM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VolodymyrKovalM/subscriptions","organizations_url":"https://api.github.com/users/VolodymyrKovalM/orgs","repos_url":"https://api.github.com/users/VolodymyrKovalM/repos","events_url":"https://api.github.com/users/VolodymyrKovalM/events{/privacy}","received_events_url":"https://api.github.com/users/VolodymyrKovalM/received_events","type":"User","site_admin":false},"labels":[{"id":530809343,"url":"https://api.github.com/repos/Talend/ui/labels/easy%20review","name":"easy review","color":"ff69b4","default":false},{"id":521021722,"url":"https://api.github.com/repos/Talend/ui/labels/need%20review","name":"need review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-19T16:04:40Z","updated_at":"2018-03-21T08:45:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Talend/ui/pulls/1183","html_url":"https://github.com/Talend/ui/pull/1183","diff_url":"https://github.com/Talend/ui/pull/1183.diff","patch_url":"https://github.com/Talend/ui/pull/1183.patch"},"body":"**What is the problem this PR is trying to solve?**\r\nWhen using Enumeration, sometimes we have item[key] that is a string.\r\nIn Item component we expect it to be an array, and because of this we do unnecessary mapping in order to convert each name from string to array.\r\nThis also causes a bug.\r\n\r\n**What is the chosen solution to this problem?**\r\nAdd checking to Item component\r\n\r\n**Please check if the PR fulfills these requirements**\r\n\r\n* [x] The PR commit message follows our [guidelines](https://github.com/talend/tools/blob/master/tools-root-github/CONTRIBUTING.md)\r\n* [ ] Tests for the changes have been added (for bug fixes / features)\r\n* [ ] Docs have been added / updated (for bug fixes / features)\r\n* [ ] Related design / discussions / pages (not in jira), if any, are all linked or available in the PR\r\n"},"comment":{"url":"https://api.github.com/repos/Talend/ui/issues/comments/374867047","html_url":"https://github.com/Talend/ui/pull/1183#issuecomment-374867047","issue_url":"https://api.github.com/repos/Talend/ui/issues/1183","id":374867047,"user":{"login":"build-travis-ci","id":28656273,"avatar_url":"https://avatars0.githubusercontent.com/u/28656273?v=4","gravatar_id":"","url":"https://api.github.com/users/build-travis-ci","html_url":"https://github.com/build-travis-ci","followers_url":"https://api.github.com/users/build-travis-ci/followers","following_url":"https://api.github.com/users/build-travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/build-travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/build-travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/build-travis-ci/subscriptions","organizations_url":"https://api.github.com/users/build-travis-ci/orgs","repos_url":"https://api.github.com/users/build-travis-ci/repos","events_url":"https://api.github.com/users/build-travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/build-travis-ci/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T08:45:17Z","updated_at":"2018-03-21T08:45:17Z","author_association":"COLLABORATOR","body":":octocat: [Demo is available here](http://1183.talend.surge.sh) "}}
{"actor":{"display_login":"build-travis-ci"}}