fix(web): 🐛 fix license not showing in info drawer

This commit is contained in:
Collin M. Barrett 2020-09-12 14:17:18 -05:00
parent df859318d5
commit 77e87a2f15

View file

@ -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)
);