{"action":"closed","issue":{"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/73","repository_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io","labels_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/73/comments","events_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/73/events","html_url":"https://github.com/Haufe-Lexware/wicked.haufe.io/issues/73","id":237254642,"number":73,"title":"Kickstarter: removing the last chat webhook breaks the editor.","user":{"login":"ehirsch","id":300689,"avatar_url":"https://avatars2.githubusercontent.com/u/300689?v=4","gravatar_id":"","url":"https://api.github.com/users/ehirsch","html_url":"https://github.com/ehirsch","followers_url":"https://api.github.com/users/ehirsch/followers","following_url":"https://api.github.com/users/ehirsch/following{/other_user}","gists_url":"https://api.github.com/users/ehirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/ehirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehirsch/subscriptions","organizations_url":"https://api.github.com/users/ehirsch/orgs","repos_url":"https://api.github.com/users/ehirsch/repos","events_url":"https://api.github.com/users/ehirsch/events{/privacy}","received_events_url":"https://api.github.com/users/ehirsch/received_events","type":"User","site_admin":false},"labels":[{"id":373628748,"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/labels/bug","name":"bug","color":"ee0701","default":true},{"id":630649088,"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/labels/priority:%20low","name":"priority: low","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/milestones/15","html_url":"https://github.com/Haufe-Lexware/wicked.haufe.io/milestone/15","labels_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/milestones/15/labels","id":2594065,"number":15,"title":"0.11.7","description":"Bugfix release.","creator":{"login":"DonMartin76","id":7326883,"avatar_url":"https://avatars0.githubusercontent.com/u/7326883?v=4","gravatar_id":"","url":"https://api.github.com/users/DonMartin76","html_url":"https://github.com/DonMartin76","followers_url":"https://api.github.com/users/DonMartin76/followers","following_url":"https://api.github.com/users/DonMartin76/following{/other_user}","gists_url":"https://api.github.com/users/DonMartin76/gists{/gist_id}","starred_url":"https://api.github.com/users/DonMartin76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonMartin76/subscriptions","organizations_url":"https://api.github.com/users/DonMartin76/orgs","repos_url":"https://api.github.com/users/DonMartin76/repos","events_url":"https://api.github.com/users/DonMartin76/events{/privacy}","received_events_url":"https://api.github.com/users/DonMartin76/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2017-06-20T16:12:01Z","updated_at":"2017-07-18T19:04:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-06-20T15:35:10Z","updated_at":"2017-07-18T19:04:36Z","closed_at":"2017-07-18T19:04:35Z","body":"This is a rather small issue.\r\n\r\nWhen remove the last (and only) chatbot webhook url and when I save the config. I will be greeted with an error page:\r\n```js\r\nTypeError: /usr/src/app/views/chatbot.jade:37\r\n    35|                                     button(type='submit' onclick='setAction(\"addHook\");').btn.btn-sm.btn-success Add Hook URL\r\n    36|                     .panel-body\r\n  > 37|                         each hookUrl, i in glob.chatbot.hookUrls\r\n    38|                             - var thisHookName = 'glob.chatbot.hookUrls['+i+']'\r\n    39|                             +inputField(thisHookName, glob, 'Hook URL', 'See documentation of Slack or Rocket.Chat how to get one of these.')\r\n    40|                             p \r\n\r\nCannot read property 'length' of undefined\r\n```\r\n\r\nWicked version is `0.11.6`"}}
{"actor":{"display_login":"DonMartin76"}}