- 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
This commit is contained in:
Dejan
2024-10-28 20:26:37 +01:00
parent 059082cf65
commit 45747747dd

View File

@ -65,9 +65,7 @@ const ToDosPage = () => {
{pageIndex == 1 && <FamilyChoresProgress setPageIndex={setPageIndex}/>}
{pageIndex == 2 && <UserChoresProgress setPageIndex={setPageIndex}/>}
</View>
{
profileData?.userType == ProfileType.PARENT && <AddChore/>
}
<AddChore/>
</>
)
;