Skip to content

Commit

Permalink
assets: fix affiliations suggestion orgs display
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Dec 2, 2024
1 parent 57e3ef4 commit 50de7d4
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ import React from "react";
import { Header, Grid } from "semantic-ui-react";

export const CustomAffiliationsSuggestions = ({
creatibutor, makeSubheader, makeIdEntry
creatibutor,
isOrganization,
makeSubheader,
makeIdEntry,
}) => {
const { name, acronym, identifiers = [], id } = creatibutor;

const subheader = makeSubheader(creatibutor, creatibutor.isOrganization);
const subheader = makeSubheader(creatibutor, isOrganization);
const displayName = acronym ? `${name} (${acronym})` : name;

const sources = [];
Expand Down

0 comments on commit 50de7d4

Please sign in to comment.