From 1510dc9bc2a0aeca3d080a3807119e3955c4b980 Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Thu, 29 May 2025 01:32:37 -0400 Subject: [PATCH] Only show " Nothing scheduled" when there really nothing to show. fix where it was shown with archive tasks --- src/views/Chores/MyChores.jsx | 70 ++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/src/views/Chores/MyChores.jsx b/src/views/Chores/MyChores.jsx index 2b942e9..06d9b6a 100644 --- a/src/views/Chores/MyChores.jsx +++ b/src/views/Chores/MyChores.jsx @@ -626,42 +626,44 @@ const MyChores = () => { Current Filter: {searchFilter} )} - {filteredChores.length === 0 && ( - - - - Nothing scheduled - - {chores.length > 0 && ( - <> - - + /> + + Nothing scheduled + + {chores.length > 0 && ( + <> + + + )} + , )} - - )} {(searchTerm?.length > 0 || searchFilter !== 'All') && filteredChores.map(chore => (