Skip to content

Commit

Permalink
Update Security.js
Browse files Browse the repository at this point in the history
  • Loading branch information
saakhil committed Jan 3, 2025
1 parent b4ba1ab commit 3c6e31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/components/Security.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const Security = hh(class Security extends Component {
if (value) {
prev.formData.dataSecondaryUse.push(field);
} else {
prev.formData.dataSecondaryUse.splice(prev.formData.dataSecondaryUse.indexOf(field))
prev.formData.dataSecondaryUse.splice(prev.formData.dataSecondaryUse.indexOf(field), 1);
}
return prev;
}, () => {
Expand Down

0 comments on commit 3c6e31d

Please sign in to comment.