From 45747747dde7e5197f86f0d244474d57aacaa1a7 Mon Sep 17 00:00:00 2001 From: Dejan Date: Mon, 28 Oct 2024 20:26:37 +0100 Subject: [PATCH] - Removed the grocery item check box for all other profile types besides parent - Allowed for all profile types to create new todos - Modified the fetch todos query to fetch all the assigned and created by for child type of profiles --- components/pages/todos/ToDosPage.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/pages/todos/ToDosPage.tsx b/components/pages/todos/ToDosPage.tsx index 8dddfc2..6ceb916 100644 --- a/components/pages/todos/ToDosPage.tsx +++ b/components/pages/todos/ToDosPage.tsx @@ -65,9 +65,7 @@ const ToDosPage = () => { {pageIndex == 1 && } {pageIndex == 2 && } - { - profileData?.userType == ProfileType.PARENT && - } + ) ;