diff --git a/src/components/sharing/linkSharing.vue b/src/components/sharing/linkSharing.vue index c36b3ddc..15517de7 100644 --- a/src/components/sharing/linkSharing.vue +++ b/src/components/sharing/linkSharing.vue @@ -83,6 +83,7 @@ {{ $t('list.share.attributes.name') }} {{ $t('list.share.attributes.sharedBy') }} {{ $t('list.share.attributes.right') }} + {{ $t('list.share.links.view') }} {{ $t('list.share.attributes.delete') }} @@ -92,7 +93,7 @@
@@ -140,6 +141,24 @@ {{ $t('list.share.right.read') }} + +
+ +
+ // FIXME: I think this is not needed .sharables-list:not(.card-content) { - overflow-y: auto + overflow-y: auto } @include modal-transition(); diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index 0653cfcf..d7a376fc 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -242,7 +242,8 @@ "remove": "Remove a link share", "removeText": "Are you sure you want to remove this link share? It will no longer be possible to access this list with this link share. This cannot be undone!", "createSuccess": "The link share was successfully created.", - "deleteSuccess": "The link share was successfully deleted" + "deleteSuccess": "The link share was successfully deleted", + "view": "View" }, "userTeam": { "typeUser": "user | users", diff --git a/src/views/sharing/LinkSharingAuth.vue b/src/views/sharing/LinkSharingAuth.vue index b9e373d1..5d758ef1 100644 --- a/src/views/sharing/LinkSharingAuth.vue +++ b/src/views/sharing/LinkSharingAuth.vue @@ -79,7 +79,15 @@ function useAuth() { ? route.query.logoVisible === 'true' : true store.commit(LOGO_VISIBLE, logoVisible) - router.push({name: 'list.list', params: {listId}}) + + let view = 'list' + if (route.query.view && + (route.query.view === 'gantt' || + route.query.view === 'kanban' || + route.query.view === 'table')) { + view = route.query.view + } + router.push({name: `list.${view}`, params: {listId}}) } catch (e: any) { if (e.response?.data?.code === 13001) { authenticateWithPassword.value = true