added url to event-types preview (#1420)

* added url to event-types preview

* wip

* wip
This commit is contained in:
Peer Richelsen 2022-01-06 10:39:16 +00:00 committed by GitHub
parent 46df4c048e
commit 8a70ea66e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,6 +141,7 @@ const EventTypeList = ({ readOnly, types, profile }: EventTypeListProps): JSX.El
title={`${type.title} ${type.description ? ` ${type.description}` : ""}`}>
<div>
<span className="font-medium truncate text-neutral-900">{type.title} </span>
<small className="text-neutral-500">{`/${profile.slug}/${type.slug}`}</small>
{type.hidden && (
<span className="ml-2 inline items-center px-1.5 py-0.5 rounded-sm text-xs font-medium bg-yellow-100 text-yellow-800">
{t("hidden")}