added url to event-types preview (#1420)

* added url to event-types preview

* wip

* wip
pull/1369/head^2
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
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ const EventTypeList = ({ readOnly, types, profile }: EventTypeListProps): JSX.El
className="flex-grow text-sm truncate"
title={`${type.title} ${type.description ? ` ${type.description}` : ""}`}>
<div>
<span className="font-medium truncate text-neutral-900">{type.title}</span>
<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")}