This commit is contained in:
parent
0e91cb0ac8
commit
397b537b63
@ -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'] }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user