issues
search
NSS-Day-Cohort-53
/
kennels-siennas
kennels-siennas created by GitHub Classroom
0
stars
0
forks
source link
Filter Fetch Request When GETting Animal Array
#37
Open
cjgochanour
opened
2 years ago
cjgochanour
commented
2 years ago
In AnimalList.js
[ ] In the syncAnimals function, filter the array being set into the animals state by comparing the animal's ownerId to the currentUser's ID.
[ ] Only do the filter if the currentUser is NOT an employee.
Related to issue #15
In AnimalList.js
Related to issue #15