mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-26 15:58:50 +00:00
Small change to address a simple filter
This commit is contained in:
parent
c9c96d214d
commit
717994508a
1 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ Template.listMgmtTbl.helpers({
|
|||
lists: function() {
|
||||
let showComplete = Session.get("showCompletedLists");
|
||||
if (showComplete) {
|
||||
return Lists.find({ listComplete: true });
|
||||
} else {
|
||||
return Lists.find({});
|
||||
} else {
|
||||
return Lists.find({ listComplete: false });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -62,7 +62,7 @@ Template.listMgmtTbl.events({
|
|||
let listId = this._id;
|
||||
Meteor.call('mark.incomplete', listId, function(err, result) {
|
||||
if (err) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue