fix logout button
This commit is contained in:
parent
e605292bf0
commit
79cfbdbe2f
2 changed files with 1 additions and 1 deletions
|
@ -123,6 +123,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['changeEvent', 'changeView', 'searchEventItems']),
|
...mapActions(['changeEvent', 'changeView', 'searchEventItems']),
|
||||||
|
...mapMutations(['logout']),
|
||||||
navigateTo(link) {
|
navigateTo(link) {
|
||||||
if (this.$router.currentRoute.path !== link)
|
if (this.$router.currentRoute.path !== link)
|
||||||
this.$router.push(link);
|
this.$router.push(link);
|
||||||
|
|
|
@ -87,7 +87,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
openLightboxModalWith(attachment) {
|
openLightboxModalWith(attachment) {
|
||||||
this.lightboxHash = attachment.hash;
|
this.lightboxHash = attachment.hash;
|
||||||
console.log(this.lightboxHash);
|
|
||||||
},
|
},
|
||||||
closeLightboxModal() { // Closes the editing modal and discards the edited copy of the item.
|
closeLightboxModal() { // Closes the editing modal and discards the edited copy of the item.
|
||||||
this.lightboxHash = null;
|
this.lightboxHash = null;
|
||||||
|
|
Loading…
Reference in a new issue