File tree 2 files changed +7
-3
lines changed
src/lib/elements/contrib/invenioRDM/records
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { Image } from "../../../Image";
11
11
import { Header } from "semantic-ui-react" ;
12
12
import Overridable from "react-overridable" ;
13
13
14
- const makeIdEntry = ( identifier ) => {
14
+ export const makeIdEntry = ( identifier ) => {
15
15
let icon , link ;
16
16
17
17
switch ( identifier . scheme ) {
@@ -45,7 +45,7 @@ const makeIdEntry = (identifier) => {
45
45
) ;
46
46
} ;
47
47
48
- const makeSubheader = ( creatibutor , isOrganization ) => {
48
+ export const makeSubheader = ( creatibutor , isOrganization ) => {
49
49
if ( isOrganization ) {
50
50
const locationPart = [ creatibutor ?. location_name , creatibutor ?. country_name ]
51
51
?. filter ( Boolean )
Original file line number Diff line number Diff line change 6
6
* // under the terms of the MIT License; see LICENSE file for more details.
7
7
*/
8
8
9
- export { AffiliationsSuggestions } from "./AffiliationsSuggestions" ;
9
+ export {
10
+ AffiliationsSuggestions ,
11
+ makeIdEntry ,
12
+ makeSubheader ,
13
+ } from "./AffiliationsSuggestions" ;
You can’t perform that action at this time.
0 commit comments