JS console error on Group Boards page
Loading group boards page causes console error from Vue. Nothing breaks (as the component isn't used anyway)
TypeError: Cannot read property 'hasAttribute' of null
from (boards_bundle.js:295)
Cause
this line:
canAdminList: this.$options.el.hasAttribute('data-can-admin-list')
if the element .js-add-issues-btn
does not exist. We should either check for this.$options.el
, or check for that element before rendering the component