Fixed "Tasks undefined" error
This commit is contained in:
parent
28a5522434
commit
710485e091
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="box tasks" v-if="this.list.tasks.length > 0">
|
<div class="box tasks" v-if="this.list.tasks && this.list.tasks.length > 0">
|
||||||
<label class="task" v-for="l in list.tasks" v-bind:key="l.id" v-bind:for="l.id">
|
<label class="task" v-for="l in list.tasks" v-bind:key="l.id" v-bind:for="l.id">
|
||||||
<input @change="markAsDone" type="checkbox" v-bind:id="l.id" v-bind:checked="l.done">
|
<input @change="markAsDone" type="checkbox" v-bind:id="l.id" v-bind:checked="l.done">
|
||||||
{{l.text}}
|
{{l.text}}
|
||||||
|
|
Loading…
Reference in a new issue