moved embed and webhooks from settings into /integrations (#978)

This commit is contained in:
Peer Richelsen
2021-10-17 10:35:25 +01:00
committed by GitHub
parent c146231b31
commit 656d58b94f
6 changed files with 292 additions and 288 deletions

View File

@@ -1,4 +1,4 @@
import { CodeIcon, CreditCardIcon, KeyIcon, UserGroupIcon, UserIcon } from "@heroicons/react/solid";
import { CreditCardIcon, KeyIcon, UserGroupIcon, UserIcon } from "@heroicons/react/solid";
import React from "react";
import { useLocale } from "@lib/hooks/useLocale";
@@ -19,7 +19,6 @@ export default function SettingsShell({ children }: { children: React.ReactNode
href: "/settings/security",
icon: KeyIcon,
},
{ name: t("embed_and_webhooks"), href: "/settings/embed", icon: CodeIcon },
{
name: t("teams"),
href: "/settings/teams",

View File

@@ -11,7 +11,7 @@ import Button from "@components/ui/Button";
export default function WebhookListItem(props: {
onChange: () => void;
key: number;
key: string;
webhook: Webhook;
onEditWebhook: () => void;
}) {