This commit is contained in:
parent
0e91cb0ac8
commit
397b537b63
@ -212,7 +212,7 @@ export const asyncRoutes = [
|
||||
path: 'my',
|
||||
component: () => import('@/views/incentives/list'),
|
||||
name: 'Belohnungen',
|
||||
meta: { title: 'Belohnungen', icon: 'star' }
|
||||
meta: { title: 'Belohnungen', icon: 'star', roles: ['editor'] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -12,8 +12,6 @@ export default {
|
||||
return {}
|
||||
},
|
||||
mounted: () => {
|
||||
window.addEventListener('message', this.messageEventHandler, false)
|
||||
|
||||
let host = 'https://joinbot.tk/bot'
|
||||
let stylesheetdir = '/bot/assets/modules/channel-web/chat.css'
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
@ -36,8 +34,6 @@ export default {
|
||||
}, 1500)
|
||||
},
|
||||
beforeDestroy: () => {
|
||||
window.removeEventListener('message', this.messageEventHandler, false)
|
||||
|
||||
document.getElementById('bp-widget').parentElement.removeChild(document.getElementById('bp-widget'))
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user