Small change to address a simple filter

This commit is contained in:
Brian McGonagill 2025-05-27 13:33:38 -05:00
parent c9c96d214d
commit 717994508a

View file

@ -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 });
}
}
});