Skip to content

Commit

Permalink
fix: documents rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Sep 28, 2023
1 parent 3ca62c6 commit 45d3291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/scenes/Persons/FoldersNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const FoldersNavigator = (props) => {
</FoldersStack.Screen>
);
})}
<FoldersStack.Screen name="SocialDocuments">{(stackProps) => <Documents {...props} {...stackProps} />}</FoldersStack.Screen>
<FoldersStack.Screen name="Documents_Mano">{(stackProps) => <Documents {...props} {...stackProps} />}</FoldersStack.Screen>
<FoldersStack.Screen name="Group">{(stackProps) => <Group {...props} {...stackProps} />}</FoldersStack.Screen>
{!!user?.healthcareProfessional && (
<FoldersStack.Screen name="MedicalFile">{(stackProps) => <MedicalFile {...props} {...stackProps} />}</FoldersStack.Screen>
Expand All @@ -49,7 +49,7 @@ const FoldersSummary = ({ navigation, backgroundColor }) => {
{customFieldsPersons.map(({ name }) => {
return <Row key={name} withNextButton caption={name} onPress={() => navigation.navigate(name)} />;
})}
<Row withNextButton caption="Documents" onPress={() => navigation.navigate('SocialDocuments')} />
<Row withNextButton caption="Documents" onPress={() => navigation.navigate('Documents_Mano')} />
{!!organisation.groupsEnabled && <Row withNextButton caption="Liens Familiaux" onPress={() => navigation.navigate('Group')} />}
{!!user?.healthcareProfessional && (
<>
Expand Down

0 comments on commit 45d3291

Please sign in to comment.