summaryrefslogtreecommitdiffstats
path: root/js/meals.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/meals.js')
-rw-r--r--js/meals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/meals.js b/js/meals.js
index 09cb762..622e47f 100644
--- a/js/meals.js
+++ b/js/meals.js
@@ -10,6 +10,7 @@ async function checkLogin() {
} else {
document.getElementById("meals-container").hidden = false;
document.getElementById("meals-login").hidden = true;
+ await loadMeals();
}
}).catch((err) => {
console.log(err);
@@ -361,5 +362,4 @@ document.addEventListener("DOMContentLoaded", async () => {
// Setup side modal
const modals = document.querySelectorAll('.side-modal');
M.Sidenav.init(modals, { edge: 'left', draggable: false });
- await loadMeals();
});