mirror of
https://github.com/anatolykopyl/vue-todo-list.git
synced 2026-03-26 12:55:17 +00:00
Added a line break
This commit is contained in:
@@ -34,9 +34,7 @@ const actions = {
|
||||
const mutations = {
|
||||
toggleComplete(state, id) {
|
||||
state.todos.forEach(element => {
|
||||
if (element.id == id) {
|
||||
element.completed = !element.completed
|
||||
}
|
||||
(element.id == id) && (element.completed = !element.completed)
|
||||
});
|
||||
},
|
||||
addTodo(state, n) {
|
||||
|
||||
Reference in New Issue
Block a user