chore: fix composition example (#369)
This commit is contained in:
parent
fd4845c52c
commit
3f73b8b6cf
@ -44,7 +44,8 @@
|
|||||||
<li><a href="#/active" :class="{ selected: state.visibility === 'active' }">Active</a></li>
|
<li><a href="#/active" :class="{ selected: state.visibility === 'active' }">Active</a></li>
|
||||||
<li><a href="#/completed" :class="{ selected: state.visibility === 'completed' }">Completed</a></li>
|
<li><a href="#/completed" :class="{ selected: state.visibility === 'completed' }">Completed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<button class="clear-completed" @click="removeCompleted" v-if="state.todos.length > remaining">
|
|
||||||
|
<button class="clear-completed" @click="removeCompleted" v-if="state.todos.length > state.remaining">
|
||||||
Clear completed
|
Clear completed
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user