{"action":"reopened","issue":{"url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue/issues/1","repository_url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue","labels_url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue/issues/1/comments","events_url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue/issues/1/events","html_url":"https://github.com/luckymarmot/RequestHeaderSentValue/issues/1","id":153177430,"number":1,"title":"Fix display text when Current Request is selected","user":{"login":"mittsh","id":1319906,"avatar_url":"https://avatars.githubusercontent.com/u/1319906?v=3","gravatar_id":"","url":"https://api.github.com/users/mittsh","html_url":"https://github.com/mittsh","followers_url":"https://api.github.com/users/mittsh/followers","following_url":"https://api.github.com/users/mittsh/following{/other_user}","gists_url":"https://api.github.com/users/mittsh/gists{/gist_id}","starred_url":"https://api.github.com/users/mittsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittsh/subscriptions","organizations_url":"https://api.github.com/users/mittsh/orgs","repos_url":"https://api.github.com/users/mittsh/repos","events_url":"https://api.github.com/users/mittsh/events{/privacy}","received_events_url":"https://api.github.com/users/mittsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/luckymarmot/RequestHeaderSentValue/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"nataliapanferova","id":15342922,"avatar_url":"https://avatars.githubusercontent.com/u/15342922?v=3","gravatar_id":"","url":"https://api.github.com/users/nataliapanferova","html_url":"https://github.com/nataliapanferova","followers_url":"https://api.github.com/users/nataliapanferova/followers","following_url":"https://api.github.com/users/nataliapanferova/following{/other_user}","gists_url":"https://api.github.com/users/nataliapanferova/gists{/gist_id}","starred_url":"https://api.github.com/users/nataliapanferova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nataliapanferova/subscriptions","organizations_url":"https://api.github.com/users/nataliapanferova/orgs","repos_url":"https://api.github.com/users/nataliapanferova/repos","events_url":"https://api.github.com/users/nataliapanferova/events{/privacy}","received_events_url":"https://api.github.com/users/nataliapanferova/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-05T06:42:27Z","updated_at":"2016-05-09T11:09:31Z","closed_at":null,"body":"If \"Current Request\" is selected, the header name isn't displayed in the text token:\r\n\r\nNeeds to change this:\r\n\r\n```javascript\r\n\tthis.text = function(context) {\r\n\t\treturn this.req.name + \" ➤ \" + this.param;\r\n\t}\r\n```\r\n\r\nto something like:\r\n\r\n```javascript\r\n\tthis.text = function(context) {\r\n\t\treturn this.req ? (this.req.name + \" ➤ \" + this.param) : this.param;\r\n\t}\r\n```\r\n\r\nNote: this is the exact same issue as in the URL params dynamic value: https://github.com/luckymarmot/URLParameterSentValue/issues/1\r\n\r\nNote: currently, it actually triggers a `TypeError` due to `this.req` being `null`"}}