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: { 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);

View file

@ -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;