const ProfilRouter = {
template: `
`,
data: function () {
return {
isAuth: false,
isLPVisible: false,
};
},
methods: {
closeLoginPanel: function() {
this.isLPVisible = false;
},
showLoginPanel: function() {
this.isLPVisible = true;
},
},
created: function() {
//console.info(auth);
},
beforeMount: function() {
this.isAuth = (auth != null && auth.mail != '');
//console.info('beforeMount: '+this.isAuth);
},
};