diff --git a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx index 9a80c9b4b..825b7200a 100644 --- a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx +++ b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx @@ -80,7 +80,7 @@ export const ListInfoDrawer = (props: RouteComponentProps & Props) => { {props.syntax && ( )} diff --git a/web/src/components/listsTable/ListDrawer.tsx b/web/src/components/listsTable/ListDrawer.tsx index 7c23b7074..0baac49b6 100644 --- a/web/src/components/listsTable/ListDrawer.tsx +++ b/web/src/components/listsTable/ListDrawer.tsx @@ -32,9 +32,9 @@ export const ListDrawer = (props: Props) => { - list.languageIds.includes(l.id) + list.languageIso6391s.includes(l.id) ) } license={ diff --git a/web/src/components/listsTable/ListsTable.tsx b/web/src/components/listsTable/ListsTable.tsx index c1f9af73f..9625dac63 100644 --- a/web/src/components/listsTable/ListsTable.tsx +++ b/web/src/components/listsTable/ListsTable.tsx @@ -217,10 +217,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { render={(syntaxId: number) => { const syntax = syntaxes.find((s) => s.id === syntaxId); return syntax ? ( - + ) : null; }} /> @@ -231,7 +228,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { key="Languages" dataIndex={nameof("languageIds")} sorter={(a, b) => - arraySorter(a.languageIds, b.languageIds, languages) + arraySorter(a.languageIso6391s, b.languageIso6391s, languages) } width={129} className={styles.nogrow} @@ -242,7 +239,8 @@ export const ListsTable = (props: RouteComponentProps & Props) => { {l.name}  ( { visibleLists.filter( - (li) => li.languageIds && li.languageIds.includes(l.id) + (li) => + li.languageIso6391s && li.languageIso6391s.includes(l.id) ).length } ) @@ -251,7 +249,9 @@ export const ListsTable = (props: RouteComponentProps & Props) => { value: l.id.toString(), }))} onFilter={(value, record) => - record.languageIds ? record.languageIds.includes(+value) : false + record.languageIso6391s + ? record.languageIso6391s.includes(+value) + : false } render={(languageIds: number[]) => languageIds ? ( diff --git a/web/src/components/maintainerCloud/MaintainerCloud.tsx b/web/src/components/maintainerCloud/MaintainerCloud.tsx index 155b92fe1..8974874da 100644 --- a/web/src/components/maintainerCloud/MaintainerCloud.tsx +++ b/web/src/components/maintainerCloud/MaintainerCloud.tsx @@ -12,10 +12,10 @@ export const MaintainerCloud = (props: Props) => props.maintainers && props.maintainers.length ? (
{props.maintainers.map((m: Maintainer, i: number) => - m.homeUrl ? ( + m.url ? ( { let actions = []; - if (props.maintainer.homeUrl) { + if (props.maintainer.url) { actions.push(