fixed all eslint errors and warning, compiled as PROD
This commit is contained in:
@@ -24,10 +24,10 @@ export default {
|
||||
})
|
||||
},
|
||||
beforeMount() {
|
||||
console.log('UserBlock beforeMount');
|
||||
if(this.loginblock){
|
||||
console.log('UserBlock beforeMount')
|
||||
if (this.loginblock) {
|
||||
this.block = this.loginblock
|
||||
}else{
|
||||
} else {
|
||||
this.getLoginBlock()
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@ export default {
|
||||
getLoginBlock(){
|
||||
MA.get(`/materio_user/login_block`)
|
||||
.then(({data}) => {
|
||||
// console.log("getLoginBlock data", data);
|
||||
// console.log("getLoginBlock data", data)
|
||||
this.block = data.rendered
|
||||
})
|
||||
.catch(( error ) => {
|
||||
.catch((error) => {
|
||||
console.warn('Issue with getLoginBlock', error)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user