feat: adds beta tag in security tab under api keys

pull/2277/head
Agusti Fernandez Pardo 2022-04-13 19:43:45 +02:00
parent 161f34d9e9
commit ddf7fc9b96
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import { QueryCell } from "@lib/QueryCell";
import { trpc } from "@lib/trpc"; import { trpc } from "@lib/trpc";
import { List } from "@components/List"; import { List } from "@components/List";
import Badge from "@components/ui/Badge";
export default function ApiKeyListContainer() { export default function ApiKeyListContainer() {
const { t } = useLocale(); const { t } = useLocale();
@ -26,7 +27,10 @@ export default function ApiKeyListContainer() {
<> <>
<div className="flex flex-row justify-between truncate pl-2 pr-1 "> <div className="flex flex-row justify-between truncate pl-2 pr-1 ">
<div className="mt-9"> <div className="mt-9">
<h2 className="font-cal text-lg font-medium leading-6 text-gray-900">{t("api_keys")}</h2> <div className="flex flex-row space-x-2">
<h2 className="font-cal text-lg font-medium leading-6 text-gray-900">{t("api_keys")}</h2>
<Badge variant="default">βeta</Badge>
</div>
<p className="mt-1 mb-5 text-sm text-gray-500">{t("api_keys_subtitle")}</p> <p className="mt-1 mb-5 text-sm text-gray-500">{t("api_keys_subtitle")}</p>
</div> </div>
<div className="self-center"> <div className="self-center">