From 717994508add8fbf556af6c42831d1cfbc67ab7d Mon Sep 17 00:00:00 2001 From: Brian McGonagill Date: Tue, 27 May 2025 13:33:38 -0500 Subject: [PATCH] Small change to address a simple filter --- client/AdminMgmt/ListMgmt/listMgmtTbl.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/AdminMgmt/ListMgmt/listMgmtTbl.js b/client/AdminMgmt/ListMgmt/listMgmtTbl.js index fb348a8..3681ded 100644 --- a/client/AdminMgmt/ListMgmt/listMgmtTbl.js +++ b/client/AdminMgmt/ListMgmt/listMgmtTbl.js @@ -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 { }