From 8dbf43b67237a9227ab3a2a730c4b1d43d5fab56 Mon Sep 17 00:00:00 2001 From: flfeders Date: Tue, 8 Oct 2024 17:22:55 +0200 Subject: [PATCH] Changes in Contact Request --- components/HelpSlideover.vue | 5 ++++- layouts/default.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/HelpSlideover.vue b/components/HelpSlideover.vue index 9e53a82..a635fde 100644 --- a/components/HelpSlideover.vue +++ b/components/HelpSlideover.vue @@ -7,6 +7,8 @@ const dataStore = useDataStore() const query = ref('') const supabase = useSupabaseClient() const toast = useToast() +const router = useRouter() + const links = [{ label: 'Shortcuts', @@ -105,7 +107,8 @@ const contactRequestData = ref({ contactName: dataStore.activeProfile.fullName, contactTel: dataStore.activeProfile.phoneMobile || dataStore.activeProfile.phoneHome, contactMail: dataStore.activeProfile.email, - contactType: "Hilfe" + contactType: "Hilfe", + currentPath: router.currentRoute }) const addContactRequest = async () => { diff --git a/layouts/default.vue b/layouts/default.vue index 75d1158..f723564 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -534,7 +534,7 @@ const footerLinks = [/*{ - +