fix roads
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between mb-1">
|
||||
<a href="#" class="btn" @click="$router.back()">Back</a>
|
||||
<router-link to="/" class="btn">Back</router-link>
|
||||
|
||||
<a href="#" class="btn-primary" @click="modal = ! modal">Add New List</a>
|
||||
</div>
|
||||
@@ -20,12 +20,12 @@
|
||||
<router-link v-else
|
||||
v-for="(toDoList, index) in toDoLists"
|
||||
:key="index"
|
||||
:to="'/to-do-lists/' + toDoList.data.to_do_list_id"
|
||||
:to="'/to-do-lists/' + toDoList.data.to_do_list_id"
|
||||
:to-do-list="toDoList"
|
||||
class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4" >
|
||||
<div class="bg-orange-300 rounded text-black m-2 p-2">
|
||||
<div class="flex justify-between">
|
||||
{{ toDoList.data.attributes.data.name }}
|
||||
<span class="font-bold">{{ toDoList.data.attributes.data.name }}</span>
|
||||
<span class="text-orange-900">
|
||||
{{ toDoList.data.attributes.data.to_dos.to_dos_count_check }} / {{ toDoList.data.attributes.data.to_dos.to_dos_count }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user