diff --git a/src/FilterLists.Web/src/components/Maintainers.tsx b/src/FilterLists.Web/src/components/Maintainers.tsx index 51f3d5928..25e26dbc9 100644 --- a/src/FilterLists.Web/src/components/Maintainers.tsx +++ b/src/FilterLists.Web/src/components/Maintainers.tsx @@ -20,29 +20,39 @@ interface MaintainerComponentProps { maintainer: Maintainer; } -const MaintainerComponent = (props: MaintainerComponentProps) => - { + let actions = []; + if (props.maintainer.homeUrl) { + actions.push( - , - props.maintainer.emailAddress && + + ); + } + if (props.maintainer.emailAddress) { + actions.push( - , - props.maintainer.twitterHandle && + + ); + } + if (props.maintainer.twitterHandle) { + actions.push( - ]} />; \ No newline at end of file + ); + } + return ; +} \ No newline at end of file