Skip to content

Commit

Permalink
fix(frontend): allow users to select default odk credentials (#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sujanadh authored Feb 3, 2025
1 parent 79c87f5 commit 672e592
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ const ProjectDetailsForm = ({ flag }) => {
}, [organisationList]);

const shouldShowCustomODKFields = () => {
const currentOrg = getSelectedOrganization();
return !values.useDefaultODKCredentials || !currentOrg?.hasODKCredentials;
return !values.useDefaultODKCredentials;
};

return (
Expand Down

0 comments on commit 672e592

Please sign in to comment.