Commit 43b78f41 authored by Alberto Monteiro's avatar Alberto Monteiro

Filter 'All' highlight by default

parent ae2b72ae
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
// store the new todo value being entered // store the new todo value being entered
self.current = ko.observable(); self.current = ko.observable();
self.showMode = ko.observable(); self.showMode = ko.observable('all');
self.filteredTodos = ko.computed(function() { self.filteredTodos = ko.computed(function() {
switch(self.showMode()) { switch(self.showMode()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment