Skip to content
This repository was archived by the owner on May 19, 2019. It is now read-only.

Commit 0f04f28

Browse files
author
Artem Artemyev
committed
fixed todomvc multiple update
1 parent de7c906 commit 0f04f28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/todomvc/js/models/TodoModel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ TodoModel.markAllTodos = (status) => {
4646
{$set: {
4747
complete: status,
4848
updatedAt: new Date(),
49-
}}
49+
}},
50+
{multi: true}
5051
);
5152
};
5253

0 commit comments

Comments
 (0)