You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresh the page. The updateTodoStatus is fired one per todo:
updateTodoStatus(todo: Todo, e: CustomEvent) {
console.log("updateTodoStatus");
// don't save the task if the status didn't change
if (todo.done !== e.detail.value) {
todo.done = e.detail.value;
store.saveTodo(todo);
}
}
I'm not really sure if there is a way to avoid this call.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
Refresh the page. The updateTodoStatus is fired one per todo:
I'm not really sure if there is a way to avoid this call.
The text was updated successfully, but these errors were encountered: