From 6f135af4a68b861f4602c51069bf5d1323b17032 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Wed, 20 Nov 2024 10:02:25 +0100 Subject: [PATCH] edit my details --- src/components/Footer.vue | 11 ++- src/components/Header.vue | 5 +- src/router/index.ts | 2 +- src/templates/Main.vue | 6 +- src/views/account/LoginData.vue | 2 +- src/views/account/Me.vue | 125 ++++++++++++++++++++++++++++++++ src/views/account/View.vue | 2 +- 7 files changed, 143 insertions(+), 10 deletions(-) create mode 100644 src/views/account/Me.vue diff --git a/src/components/Footer.vue b/src/components/Footer.vue index d9250df..643ddfb 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,10 +1,17 @@ diff --git a/src/components/Header.vue b/src/components/Header.vue index ac72cc8..1c824c6 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -5,8 +5,9 @@

Mitgliederverwaltung

- diff --git a/src/router/index.ts b/src/router/index.ts index 4fff023..b9940b9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -464,7 +464,7 @@ const router = createRouter({ { path: "me", name: "account-me", - component: () => import("@/views/account/ViewSelect.vue"), + component: () => import("@/views/account/Me.vue"), }, { path: "logindata", diff --git a/src/templates/Main.vue b/src/templates/Main.vue index 1ae8881..7176f8e 100644 --- a/src/templates/Main.vue +++ b/src/templates/Main.vue @@ -5,7 +5,7 @@ :to="{ name: overviewFullOverwrite ?? - `${rootRoute}${useStagedOverviewLink ? ('-' + overviewOverwrite ?? activeNavigation) : ''}-default`, + `${rootRoute}${useStagedOverviewLink ? '-' + (overviewOverwrite ?? activeNavigation) : ''}-default`, }" class="mid:hidden text-primary" > @@ -37,11 +37,11 @@ export default defineComponent({ props: { overviewFullOverwrite: { type: String, - default: "", + default: null, }, overviewOverwrite: { type: String, - default: "", + default: null, }, useStagedOverviewLink: { type: Boolean, diff --git a/src/views/account/LoginData.vue b/src/views/account/LoginData.vue index 7d72eda..6028dad 100644 --- a/src/views/account/LoginData.vue +++ b/src/views/account/LoginData.vue @@ -1,5 +1,5 @@