mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Making it so that Menu and Lists load from db when refreshed.
This commit is contained in:
parent
3ad8fab67b
commit
2f3f82477a
7 changed files with 47 additions and 19 deletions
|
|
@ -15,14 +15,6 @@ Template.listItemsTbl.onRendered(function() {
|
|||
|
||||
Session.set("showReceivedItems", false);
|
||||
Session.set("searchVal", "");
|
||||
|
||||
if (Session.get("listId")) {
|
||||
console.log("got List Id in Session var.");
|
||||
// no action
|
||||
} else {
|
||||
let selListId = UserLast.find({ view: "List" }).listId;
|
||||
Session.set("listId", selListId);
|
||||
}
|
||||
});
|
||||
|
||||
Template.listItemsTbl.helpers({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue