diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index 81530194b..b86f2e36d 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -76,7 +76,11 @@ function ListInfo(props: any) { function ListUrls(props: any) { return
+ + + + @@ -199,6 +203,30 @@ function SubscribeUrl(props: any) { } }; +function SubscribeUrlMirror(props: any) { + return props.url + ? props.url.indexOf("https://") === -1 + ? SubscribeUrlNotSecure() + : SubscribeUrlSecondary() + : null; + + function SubscribeUrlSecondary() { + return + Subscribe + ; + } + + function SubscribeUrlNotSecure() { + return + Subscribe + ; + } +}; + function ViewUrl(props: any) { return props.url.indexOf("https://") === -1 ? ViewUrlNotSecure() @@ -231,6 +259,30 @@ function ViewUrl(props: any) { } }; +function ViewUrlMirror(props: any) { + return props.url + ? props.url.indexOf("https://") === -1 + ? ViewUrlNotSecure() + : viewUrlSecondary() + : null; + + function viewUrlSecondary() { + return + View + ; + } + + function ViewUrlNotSecure() { + return + View + ; + } +}; + function HomeUrl(props: any) { return props.url ?