fix and unify list and bookmark editors
This commit is contained in:
parent
5f2efc564a
commit
bb3c7b2178
10 changed files with 150 additions and 186 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import ListsCard from 'src/components/lists_card/lists_card.vue'
|
||||
import FolderCard from 'src/components/folder_card/folder_card.vue'
|
||||
|
||||
import { useListsStore } from 'src/stores/lists.js'
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ const Lists = {
|
|||
}
|
||||
},
|
||||
components: {
|
||||
ListsCard,
|
||||
FolderCard,
|
||||
},
|
||||
computed: {
|
||||
lists() {
|
||||
|
|
|
|||
|
|
@ -14,10 +14,12 @@
|
|||
</router-link>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<ListsCard
|
||||
<FolderCard
|
||||
v-for="list in lists.slice().reverse()"
|
||||
:key="list"
|
||||
:list="list"
|
||||
:name="list.title"
|
||||
:link="{ name: 'lists-timeline', params: { id: list.id } }"
|
||||
:link-edit="{ name: 'lists-edit', params: { id: list.id } }"
|
||||
class="list-item"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue