From 79cfbdbe2f8acf7a58800a761ea2b4f93be17d00 Mon Sep 17 00:00:00 2001 From: jedi Date: Tue, 23 Jan 2024 19:02:49 +0100 Subject: [PATCH 1/3] fix logout button --- web/src/components/Navbar.vue | 1 + web/src/components/TimelineMail.vue | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/Navbar.vue b/web/src/components/Navbar.vue index 0acf387..46b4ff8 100644 --- a/web/src/components/Navbar.vue +++ b/web/src/components/Navbar.vue @@ -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); diff --git a/web/src/components/TimelineMail.vue b/web/src/components/TimelineMail.vue index 8033805..0c0f6f7 100644 --- a/web/src/components/TimelineMail.vue +++ b/web/src/components/TimelineMail.vue @@ -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; From 41d983ccbba71a3fea8ca1b18a46b8e00f32df23 Mon Sep 17 00:00:00 2001 From: jedi Date: Tue, 23 Jan 2024 19:04:07 +0100 Subject: [PATCH 2/3] encode open expanded section of /tickets view in url --- web/src/components/CollapsableCards.vue | 45 +++++++++++++++++-------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/web/src/components/CollapsableCards.vue b/web/src/components/CollapsableCards.vue index 14f0bc9..de09afe 100644 --- a/web/src/components/CollapsableCards.vue +++ b/web/src/components/CollapsableCards.vue @@ -47,7 +47,6 @@ From b3c2233454cb1504cf8e5ee21b2bc77655e1f607 Mon Sep 17 00:00:00 2001 From: jedi Date: Tue, 23 Jan 2024 19:05:20 +0100 Subject: [PATCH 3/3] remove use of v1 api in item edit modal, which caused a prompt for http basic auth --- web/src/components/inputs/InputPhoto.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/web/src/components/inputs/InputPhoto.vue b/web/src/components/inputs/InputPhoto.vue index 5b022d5..e50033b 100644 --- a/web/src/components/inputs/InputPhoto.vue +++ b/web/src/components/inputs/InputPhoto.vue @@ -3,7 +3,7 @@ Image not available.