Skip to content

Commit

Permalink
fix: remove view for find records list when person is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Oct 15, 2020
1 parent 792251b commit 3b00d12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/FindResidents/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const FindResidents = ({
</>
)}

{filterList(residents).map((listItem,) => (
{!selectPerson && filterList(residents).map((listItem,) => (
<View key={listItem.objectId}>
<ResidentCard
resident={listItem}
Expand Down
2 changes: 1 addition & 1 deletion domains/DataCollection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { getData } from '../../modules/async-storage';
import FindResidents from '../../components/FindResidents';

import { retrieveCurrentUserFunction } from '../../services/parse/auth';
import customQueryService from '../../services/parse/crud';
import { customQueryService } from '../../services/parse/crud';

import ComingSoonSVG from '../../assets/graphics/static/Adventurer.svg';
import FindRecordSVG from '../../assets/graphics/static/Find-Record-Icon.svg';
Expand Down

0 comments on commit 3b00d12

Please sign in to comment.