{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments/218396004","pull_request_review_id":156322227,"id":218396004,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODM5NjAwNA==","diff_hunk":"@@ -23,15 +23,51 @@ export class Pending {\n     async activate() {\n         this.info.keyword = '';\n         var result = await this.service.listPending(this.info);\n-        this.data = result.data;\n+        var resultWithReference = await result.data.map(item => {\n+\n+            item[\"sourceReference\"] = \"\";\n+            item[\"destinationReference\"] = \"\";\n+\n+            if (item.reference) {\n+                var referenceData = tranferOutLoader(item.reference);\n+\n+                Promise.all([referenceData]).then(dataResult => {\n+                    var data = dataResult[0];\n+                    data.forEach(element => {\n+                        item.sourceReference = element.source.name;\n+                        item.destinationReference = element.destination.name;\n+                    });\n+                });\n+            }\n+            return item;\n+        });\n+        this.data = resultWithReference;\n         this.info = result.info;\n     }\n \n     loadPage() {\n         var keyword = this.info.keyword;\n         this.service.listPending(this.info)\n             .then(result => {\n-                this.data = result.data;\n+                var resultWithReference = result.data.map(item => {\n+\n+                    item[\"sourceReference\"] = \"\";\n+                    item[\"destinationReference\"] = \"\";","path":"src/modules/efr-tb-bbt-cr/list-pending.js","position":44,"original_position":44,"commit_id":"2428724f53e5740a14e5e794b1ccb2b59774aac1","original_commit_id":"2428724f53e5740a14e5e794b1ccb2b59774aac1","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"['destinationReference'] is better written in dot notation.<br>Too many errors. (61% scanned).","created_at":"2018-09-18T11:36:55Z","updated_at":"2018-09-18T11:36:57Z","html_url":"https://github.com/danliris/bateeq-ui/pull/577#discussion_r218396004","pull_request_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments/218396004"},"html":{"href":"https://github.com/danliris/bateeq-ui/pull/577#discussion_r218396004"},"pull_request":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577","id":216276014,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2Mjc2MDE0","html_url":"https://github.com/danliris/bateeq-ui/pull/577","diff_url":"https://github.com/danliris/bateeq-ui/pull/577.diff","patch_url":"https://github.com/danliris/bateeq-ui/pull/577.patch","issue_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/577","number":577,"state":"open","locked":false,"title":"Update pending pemasukan barang","user":{"login":"edo-moonlay","id":31334028,"node_id":"MDQ6VXNlcjMxMzM0MDI4","avatar_url":"https://avatars2.githubusercontent.com/u/31334028?v=4","gravatar_id":"","url":"https://api.github.com/users/edo-moonlay","html_url":"https://github.com/edo-moonlay","followers_url":"https://api.github.com/users/edo-moonlay/followers","following_url":"https://api.github.com/users/edo-moonlay/following{/other_user}","gists_url":"https://api.github.com/users/edo-moonlay/gists{/gist_id}","starred_url":"https://api.github.com/users/edo-moonlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edo-moonlay/subscriptions","organizations_url":"https://api.github.com/users/edo-moonlay/orgs","repos_url":"https://api.github.com/users/edo-moonlay/repos","events_url":"https://api.github.com/users/edo-moonlay/events{/privacy}","received_events_url":"https://api.github.com/users/edo-moonlay/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-18T11:36:46Z","updated_at":"2018-09-18T11:36:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7b009731cd2945e0ff3a0ae4966030b32a4f58f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577/commits","review_comments_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577/comments","review_comment_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/577/comments","statuses_url":"https://api.github.com/repos/danliris/bateeq-ui/statuses/2428724f53e5740a14e5e794b1ccb2b59774aac1","head":{"label":"danliris:dev","ref":"dev","sha":"2428724f53e5740a14e5e794b1ccb2b59774aac1","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":60683096,"node_id":"MDEwOlJlcG9zaXRvcnk2MDY4MzA5Ng==","name":"bateeq-ui","full_name":"danliris/bateeq-ui","private":false,"owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danliris/bateeq-ui","description":null,"fork":false,"url":"https://api.github.com/repos/danliris/bateeq-ui","forks_url":"https://api.github.com/repos/danliris/bateeq-ui/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-ui/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-ui/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-ui/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-ui/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-ui/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-ui/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-ui/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-ui/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-ui/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-ui/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-ui/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-ui/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-ui/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-ui/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-ui/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-ui/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-ui/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-ui/deployments","created_at":"2016-06-08T08:48:48Z","updated_at":"2018-09-17T05:29:11Z","pushed_at":"2018-09-18T11:36:46Z","git_url":"git://github.com/danliris/bateeq-ui.git","ssh_url":"git@github.com:danliris/bateeq-ui.git","clone_url":"https://github.com/danliris/bateeq-ui.git","svn_url":"https://github.com/danliris/bateeq-ui","homepage":null,"size":1593,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":17,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"danliris:uat","ref":"uat","sha":"b927389c63256417efb85f12184797ed456274c3","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":60683096,"node_id":"MDEwOlJlcG9zaXRvcnk2MDY4MzA5Ng==","name":"bateeq-ui","full_name":"danliris/bateeq-ui","private":false,"owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danliris/bateeq-ui","description":null,"fork":false,"url":"https://api.github.com/repos/danliris/bateeq-ui","forks_url":"https://api.github.com/repos/danliris/bateeq-ui/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-ui/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-ui/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-ui/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-ui/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-ui/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-ui/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-ui/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-ui/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-ui/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-ui/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-ui/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-ui/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-ui/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-ui/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-ui/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-ui/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-ui/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-ui/deployments","created_at":"2016-06-08T08:48:48Z","updated_at":"2018-09-17T05:29:11Z","pushed_at":"2018-09-18T11:36:46Z","git_url":"git://github.com/danliris/bateeq-ui.git","ssh_url":"git@github.com:danliris/bateeq-ui.git","clone_url":"https://github.com/danliris/bateeq-ui.git","svn_url":"https://github.com/danliris/bateeq-ui","homepage":null,"size":1593,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":17,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577"},"html":{"href":"https://github.com/danliris/bateeq-ui/pull/577"},"issue":{"href":"https://api.github.com/repos/danliris/bateeq-ui/issues/577"},"comments":{"href":"https://api.github.com/repos/danliris/bateeq-ui/issues/577/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/577/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/bateeq-ui/statuses/2428724f53e5740a14e5e794b1ccb2b59774aac1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}