mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +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() {
|
lists: function() {
|
||||||
let showComplete = Session.get("showCompletedLists");
|
let showComplete = Session.get("showCompletedLists");
|
||||||
if (showComplete) {
|
if (showComplete) {
|
||||||
return Lists.find({ listComplete: true });
|
|
||||||
} else {
|
|
||||||
return Lists.find({});
|
return Lists.find({});
|
||||||
|
} else {
|
||||||
|
return Lists.find({ listComplete: false });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue