Skip to content

Commit

Permalink
feat: empty selected_accesses when user selects another event
Browse files Browse the repository at this point in the history
  • Loading branch information
pcournut committed Jun 28, 2023
1 parent 0098758 commit 6f632c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions views/ConfigureScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ export const ConfigureScreen = ({ navigation, route }) => {
]}
onPress={() => {
setSelectedEvent(event);
for (const access of accesses) {
if (access.isSelect) {
selectItem(access);
}
}
}}
>
<View style={configureStyles.accessContainer}>
Expand Down

0 comments on commit 6f632c2

Please sign in to comment.