diff --git a/web/src/components/listsTable/ListsTable.tsx b/web/src/components/listsTable/ListsTable.tsx index 1dd121f29..597c863d7 100644 --- a/web/src/components/listsTable/ListsTable.tsx +++ b/web/src/components/listsTable/ListsTable.tsx @@ -197,8 +197,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { text: ( <> -   - {s.name}  ( +  ( { visibleLists.filter( (li) => li.syntaxIds && li.syntaxIds.includes(s.id) @@ -229,11 +228,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { key="Languages" dataIndex={nameof("iso6391s")} sorter={(a, b) => - languageArraySorter( - a.iso6391s, - b.iso6391s, - languages - ) + languageArraySorter(a.iso6391s, b.iso6391s, languages) } width={129} className={styles.nogrow} @@ -244,9 +239,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { {l.name}  ( { visibleLists.filter( - (li) => - li.iso6391s && - li.iso6391s.includes(l.iso6391) + (li) => li.iso6391s && li.iso6391s.includes(l.iso6391) ).length } ) @@ -255,9 +248,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { value: l.iso6391.toString(), }))} onFilter={(value, record) => - record.iso6391s - ? record.iso6391s.includes(value as string) - : false + record.iso6391s ? record.iso6391s.includes(value as string) : false } render={(languageIds: string[]) => languageIds ? (