From 700fce3c2cf6fb6d7dea69771786ae5f4da9a1ad Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 30 Nov 2021 16:58:15 +0100 Subject: [PATCH] fix: sharing components --- .../namespace/namespace-settings-dropdown.vue | 2 +- src/router/index.ts | 2 +- src/views/list/settings/share.vue | 103 ++++++++-------- src/views/namespaces/settings/share.vue | 112 +++++++++--------- 4 files changed, 109 insertions(+), 110 deletions(-) diff --git a/src/components/namespace/namespace-settings-dropdown.vue b/src/components/namespace/namespace-settings-dropdown.vue index 0ce99c8c..9651c5b2 100644 --- a/src/components/namespace/namespace-settings-dropdown.vue +++ b/src/components/namespace/namespace-settings-dropdown.vue @@ -16,7 +16,7 @@ {{ $t('menu.edit') }} {{ $t('menu.share') }} diff --git a/src/router/index.ts b/src/router/index.ts index 0557c9a8..56fa2fee 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -217,7 +217,7 @@ const router = createRouter({ }, }, { - path: '/namespaces/:id/settings/share', + path: '/namespaces/:namespaceId/settings/share', name: 'namespace.settings.share', component: NamespaceSettingShare, meta: { diff --git a/src/views/list/settings/share.vue b/src/views/list/settings/share.vue index 4a9967f8..ca11b4e5 100644 --- a/src/views/list/settings/share.vue +++ b/src/views/list/settings/share.vue @@ -3,24 +3,38 @@ :title="$t('list.share.header')" primary-label="" > - - + - + - + + diff --git a/src/views/namespaces/settings/share.vue b/src/views/namespaces/settings/share.vue index 8f70cbd5..f3e4a20c 100644 --- a/src/views/namespaces/settings/share.vue +++ b/src/views/namespaces/settings/share.vue @@ -3,69 +3,67 @@ :title="title" primary-label="" > - - + - + + \ No newline at end of file