@@ -542,7 +542,11 @@
}
},
setLinkBoxIndex: function (index) {
- this.linkBoxIndex = index
+ if (!this.user.logged) {
+ this.$router.push('/auth/login?returnUrl=' + window.location.href)
+ } else {
+ this.linkBoxIndex = index
+ }