diff --git a/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx b/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx
index 9f84a8c93..277f75bc9 100644
--- a/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx
+++ b/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx
@@ -49,8 +49,10 @@ function FilterListDetails(props: any) {
{props.name}
;
}
+function Description(props: any) {
+ if (props.description) {
+ if (props.url) {
+ return {props.description}
{props.description}
; + } + } else { + return null; + } +} + function PublishedDate(props: any) { if (props.date) { returnPublished: {props.date}
; @@ -74,16 +88,12 @@ function DiscontinuedDate(props: any) { } } -function Description(props: any) { - if (props.description) { - if (props.url) { - return{props.description}
; - } else { - return{props.description}
; - } - } else { - return null; - } +function SubscribeUrl(props: any) { + return + Subscribe + ; } function ViewUrl(props: any) { @@ -92,12 +102,24 @@ function ViewUrl(props: any) { ; } -function SubscribeUrl(props: any) { - return - Subscribe - ; +function HomeUrl(props: any) { + if (props.url) { + return + Home + ; + } else { + return null; + } +} + +function DonateUrl(props: any) { + if (props.url) { + return + Donate + ; + } else { + return null; + } } interface IFilterListDetailsDto {