"Edit board" does not work and error in console
The problem
When viewing an issue board as "Owner"
- The "Edit board" button does not do anything
- The following error is shown in the browser console
[Vue warn]: Failed to generate render function:
SyntaxError: Unexpected token , in
with(this){return _c('div',{staticClass:"inline boards-switcher",attrs:{"id":"js-multiple-boards-switcher"}},[_c('boards-selector',{staticClass:"js-boards-selector",attrs:{"current-board":{"id":1,"name":"Development","milestone_id":null,"weight":null,"labels":[]},"milestone-path":"/h5bp/html5-boilerplate/milestones.json"},inlineTemplate:{render:function(){with(this){return _c('span',{staticClass:"boards-selector-wrapper js-boards-selector-wrapper"},[_c('div',{staticClass:"dropdown"},[_c('button',{staticClass:"dropdown-menu-toggle js-dropdown-toggle",attrs:{"data-toggle":"dropdown"},on:{"click":loadBoards}},[_v("\n"+_s(board.name)+"\n"),_c('i',{staticClass:"fa fa-chevron-down",attrs:{"aria-hidden":"true","data-hidden":"true"}})]),_v(" "),_c('div',{staticClass:"dropdown-menu",class:{ 'is-loading': loading }},[_c('div',{staticClass:"dropdown-content-faded-mask js-scroll-fade",class:scrollFadeClass},[(!loading)?_c('ul',{ref:"content",staticClass:"dropdown-list js-dropdown-list",on:{"&scroll":function($event){return throttledSetScrollFade($event)}}},_l((boards),function(board){return _c('li',{staticClass:"dropdown-item js-dropdown-item"},[_c('a',{attrs:{"href":'/h5bp/html5-boilerplate/boards/' + board.id}},[_v("\n"+_s(board.name)+"\n")])])})):_e()]),_v(" "),(loading)?_c('div',{staticClass:"dropdown-loading"},[_c('i',{staticClass:"fa fa-spin fa-spinner",attrs:{"aria-hidden":"true","data-hidden":"true"}})]):_e(),_v(" "),_c('div',{staticClass:"dropdown-footer"},[_c('ul',{staticClass:"dropdown-footer-list"},[(showDelete)?_c('li',[_c('a',{attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();showPage('delete')}}},[_c('span',{staticClass:"text-danger"},[_v("\nDelete board\n")])])]):_e()])])])]),_v(" "),(currentPage)?_c('board-form',{attrs:{"can-admin-board":true,"group-id":Number(),"milestone-path":milestonePath,"project-id":Number(8),"scoped-issue-board-feature-enabled":,"labels-path":"/h5bp/html5-boilerplate/labels.json?include_ancestor_groups=true&include_descendant_groups=true","weights":"[\"Any\", \"None\", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]"}}):_e()],1)}},staticRenderFns:[]}})],1)}
(found in <Root>)
I expect:
- The "Edit board" button to work
- To see no errors in the console
Edited by Paul Slaughter