From 815844fe2aad7a3c1e158cd93f4b9fd074fd087a Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 6 May 2020 21:23:47 +0200 Subject: [PATCH] Fix opening link share list view --- src/components/sharing/linkSharingAuth.vue | 2 +- src/router/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/sharing/linkSharingAuth.vue b/src/components/sharing/linkSharingAuth.vue index f7fca718..e3bf1a32 100644 --- a/src/components/sharing/linkSharingAuth.vue +++ b/src/components/sharing/linkSharingAuth.vue @@ -28,7 +28,7 @@ auth.linkShareAuth(this.$route.params.share) .then((r) => { this.loading = false - router.push({name: 'list.index', params: {listId: r.listId}}) + router.push({name: 'list.list', params: {listId: r.list_id}}) }) .catch(e => { this.error(e, this) diff --git a/src/router/index.js b/src/router/index.js index 4c3c9bbf..a8d4b101 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -13,7 +13,7 @@ import UserSettingsComponent from '@/components/user/Settings' import NewListComponent from '@/components/lists/NewList' import EditListComponent from '@/components/lists/EditList' import ShowTasksInRangeComponent from '@/components/tasks/ShowTasksInRange' -import LinkShareAuthComponent from '@/components/sharing/linkSharingAuth' +import LinkShareAuthComponent from '../components/sharing/linkSharingAuth' import TaskDetailViewModal from '../components/tasks/TaskDetailViewModal' // Namespace Handling import NewNamespaceComponent from '@/components/namespaces/NewNamespace'