diff --git a/web/src/components/LicenseTag.tsx b/web/src/components/LicenseTag.tsx index 8beb0e554..c7776d322 100644 --- a/web/src/components/LicenseTag.tsx +++ b/web/src/components/LicenseTag.tsx @@ -3,7 +3,7 @@ import * as React from "react"; interface Props { name: string; - descriptionUrl?: string; + url?: string; showLabel?: boolean; } @@ -12,15 +12,15 @@ export const LicenseTag = (props: Props) => {props.showLabel &&

License:

} - +
) : null; const TagContents = (props: Props) => - props.descriptionUrl ? ( + props.url ? ( { {props.license && ( )} diff --git a/web/src/components/listsTable/ListsTable.tsx b/web/src/components/listsTable/ListsTable.tsx index 9625dac63..f6c8d01ab 100644 --- a/web/src/components/listsTable/ListsTable.tsx +++ b/web/src/components/listsTable/ListsTable.tsx @@ -374,7 +374,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { return license ? ( ) : null;