]> git.amazingca.dev Git - autumn/todo/commitdiff
fix: Patch archive boundary bug
authorAmazingca <luzovich@cs.colostate.edu>
Mon, 4 May 2026 04:17:41 +0000 (22:17 -0600)
committerAmazingca <luzovich@cs.colostate.edu>
Mon, 4 May 2026 04:17:41 +0000 (22:17 -0600)
archived.js

index 913cd04c2369defe6c6dd263efd7b80d1e84ee71..d3d20c13c12ca4e133fc76f29b2c31180d0b0dc0 100644 (file)
@@ -97,7 +97,7 @@ const applyListeners = () => {
 
 const hydrateTodos = () => {
 
-  if (archived.length > 0) archivedElement.innerHTML = archived
+  if (archived.length >= 0) archivedElement.innerHTML = archived
     .map((x, index) => todoElement(x, index))
     .join("");