Use router for list timeline link
This commit is contained in:
parent
023fcb506f
commit
ab7001ed20
2 changed files with 3 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
|||
<template>
|
||||
<div class="list-card">
|
||||
<router-link
|
||||
:to="listLink(list.id)"
|
||||
:to="{ name: 'list-timeline', params: { id: list.id } }"
|
||||
class="list-name"
|
||||
>
|
||||
{{ list.title }}
|
||||
</router-link>
|
||||
<router-link
|
||||
:to="listLink(list.id) + '/edit'"
|
||||
:to="{ name: 'list-edit', params: { id: list.id } }"
|
||||
class="button-list-edit"
|
||||
>
|
||||
<FAIcon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue