+ Nothing scheduled for today. +
+diff --git a/public/js/today.js b/public/js/today.js index 6f14627..a9bbda8 100644 --- a/public/js/today.js +++ b/public/js/today.js @@ -2,6 +2,7 @@ document.addEventListener('DOMContentLoaded', () => { const scheduledNodesList = document.getElementById( 'scheduled-nodes-list' ); + const emptyMessage = document.getElementById('scheduled-nodes-empty'); function todayDateString() { const today = new Date(); @@ -23,10 +24,17 @@ document.addEventListener('DOMContentLoaded', () => { const scheduledNodes = await response.json(); scheduledNodesList.innerHTML = scheduledNodes .map((scheduledNode) => - '
+ Nothing scheduled for today. +
+