From 77e87a2f1539aa9e81f5fde2aac7d3248c2a9668 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 12 Sep 2020 14:17:18 -0500 Subject: [PATCH] =?UTF-8?q?fix(web):=20=F0=9F=90=9B=20fix=20license=20not?= =?UTF-8?q?=20showing=20in=20info=20drawer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/listInfoDrawer/ListInfoDrawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx index c67a9591a..d1d0d796b 100644 --- a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx +++ b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx @@ -50,7 +50,7 @@ export const ListInfoDrawer = (props: RouteComponentProps & Props) => { list?.iso6391s.includes(l.iso6391) ); const listTags = props.tags.filter((t) => list?.tagIds.includes(t.id)); - const listLicense = props.licenses.find((l) => l.id === list?.id); + const listLicense = props.licenses.find((l) => l.id === list?.licenseId); const listSyntaxes = props.syntaxes.filter((s) => list?.syntaxIds.includes(s.id) );