fix logout button

This commit is contained in:
j3d1 2024-01-23 19:02:49 +01:00
parent e605292bf0
commit 79cfbdbe2f
2 changed files with 1 additions and 1 deletions

View file

@ -123,6 +123,7 @@ export default {
},
methods: {
...mapActions(['changeEvent', 'changeView', 'searchEventItems']),
...mapMutations(['logout']),
navigateTo(link) {
if (this.$router.currentRoute.path !== link)
this.$router.push(link);

View file

@ -87,7 +87,6 @@ export default {
methods: {
openLightboxModalWith(attachment) {
this.lightboxHash = attachment.hash;
console.log(this.lightboxHash);
},
closeLightboxModal() { // Closes the editing modal and discards the edited copy of the item.
this.lightboxHash = null;