Skip to content

Commit

Permalink
refactor: remove showManualEntry argument
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack authored and slint committed Oct 31, 2024
1 parent a30dbb2 commit b8a5d39
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import _isEmpty from "lodash/isEmpty";
import _isNull from "lodash/isNull";
import _isNumber from "lodash/isNumber";
import _isObject from "lodash/isObject";
import _map from "lodash/map";
import _mapValues from "lodash/mapValues";
import _pick from "lodash/pick";
import _pickBy from "lodash/pickBy";
Expand Down Expand Up @@ -335,10 +334,6 @@ class CommunityProfileForm extends Component {
}
};

serializeAffiliations = (organizations) => {
return AffiliationsSuggestions(organizations, true, false);
};

render() {
const {
types,
Expand Down Expand Up @@ -474,7 +469,9 @@ class CommunityProfileForm extends Component {
"metadata.organizations",
[]
)}
serializeSuggestions={this.serializeAffiliations}
serializeSuggestions={(organizations) => {
return AffiliationsSuggestions(organizations, true);
}}
label={
<FieldLabel
htmlFor="metadata.organizations"
Expand Down

0 comments on commit b8a5d39

Please sign in to comment.