diff --git a/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx b/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx index 703ce70dd..66ec54a7e 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetailsModal.tsx @@ -50,7 +50,8 @@ export default class ListDetailsModal extends React.Component { function FilterListDetails(props: any) { return
- + + @@ -77,6 +78,14 @@ function Description(props: any) { : null; } +function Languages(props: any) { + return props.languages.length > 0 + ? props.languages.length > 1 + ?

Languages: {props.languages.join(", ")}

+ :

Language: {props.languages.join(", ")}

+ : null; +} + function PublishedDate(props: any) { return props.date ?

Published: {props.date}

: null; } @@ -164,6 +173,7 @@ interface IFilterListDetailsDto { forumUrl: string; homeUrl: string; issuesUrl: string; + languages: string[]; name: string; policyUrl: string; publishedDate: string;