remove crap
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lukas Bachschwell 2020-01-03 20:00:55 +01:00
parent 0e91cb0ac8
commit 397b537b63
Signed by: lbsadmin
GPG Key ID: CCC6AA87CC8DF425
2 changed files with 1 additions and 5 deletions

View File

@ -212,7 +212,7 @@ export const asyncRoutes = [
path: 'my', path: 'my',
component: () => import('@/views/incentives/list'), component: () => import('@/views/incentives/list'),
name: 'Belohnungen', name: 'Belohnungen',
meta: { title: 'Belohnungen', icon: 'star' } meta: { title: 'Belohnungen', icon: 'star', roles: ['editor'] }
} }
] ]
}, },

View File

@ -12,8 +12,6 @@ export default {
return {} return {}
}, },
mounted: () => { mounted: () => {
window.addEventListener('message', this.messageEventHandler, false)
let host = 'https://joinbot.tk/bot' let host = 'https://joinbot.tk/bot'
let stylesheetdir = '/bot/assets/modules/channel-web/chat.css' let stylesheetdir = '/bot/assets/modules/channel-web/chat.css'
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
@ -36,8 +34,6 @@ export default {
}, 1500) }, 1500)
}, },
beforeDestroy: () => { beforeDestroy: () => {
window.removeEventListener('message', this.messageEventHandler, false)
document.getElementById('bp-widget').parentElement.removeChild(document.getElementById('bp-widget')) document.getElementById('bp-widget').parentElement.removeChild(document.getElementById('bp-widget'))
}, },
methods: { methods: {