mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 08:24:55 +00:00
- 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:
@ -65,9 +65,7 @@ const ToDosPage = () => {
|
|||||||
{pageIndex == 1 && <FamilyChoresProgress setPageIndex={setPageIndex}/>}
|
{pageIndex == 1 && <FamilyChoresProgress setPageIndex={setPageIndex}/>}
|
||||||
{pageIndex == 2 && <UserChoresProgress setPageIndex={setPageIndex}/>}
|
{pageIndex == 2 && <UserChoresProgress setPageIndex={setPageIndex}/>}
|
||||||
</View>
|
</View>
|
||||||
{
|
<AddChore/>
|
||||||
profileData?.userType == ProfileType.PARENT && <AddChore/>
|
|
||||||
}
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user