Fix redirecting to list view from task detail

This commit is contained in:
kolaente 2020-05-09 23:38:32 +02:00
parent 2ca8eef4f7
commit b1de52fc0b
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@
this.$route.name !== 'list.table' && this.$route.name !== 'list.table' &&
this.$route.name !== 'list.kanban' this.$route.name !== 'list.kanban'
) { ) {
router.push({name: 'list.list', params: {id: this.$route.params.listId}}) router.replace({name: 'list.list', params: {id: this.$route.params.listId}})
return return
} }

View file

@ -11,7 +11,7 @@
</div> </div>
<h6 class="subtitle" v-if="parent && parent.namespace && parent.list"> <h6 class="subtitle" v-if="parent && parent.namespace && parent.list">
{{ parent.namespace.name }} > {{ parent.namespace.name }} >
<router-link :to="{ name: 'list.index', params: { listId: parent.list.id } }"> <router-link :to="{ name: 'list.list', params: { listId: parent.list.id } }">
{{ parent.list.title }} {{ parent.list.title }}
</router-link> </router-link>
</h6> </h6>