(fix) Show/hide completed tasks in list

This commit is contained in:
Francis Lachapelle
2015-07-21 15:36:03 -04:00
parent 82ed44ee31
commit 9c464c15ad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -406,7 +406,7 @@
</md-menu-item>
<md-menu-divider ng-if="list.componentType == 'tasks'"><!-- divider --></md-menu-divider>
<md-menu-item ng-if="list.componentType == 'tasks'">
<md-button ng-click="list.filter()">
<md-button ng-click="list.component.$filter(list.componentType)">
<md-checkbox
ng-model="list.component.$queryTasks.show_completed"
ng-true-value="1"
@@ -101,7 +101,7 @@
_this.$query[key] = options[key];
else
_this[queryKey][key] = options[key];
})
});
}
// Perform query with both common and type-specific parameters