fix: ui bugs in settings page (#12975)
This commit is contained in:
parent
6f942cfcac
commit
1c2fff5447
|
@ -151,7 +151,7 @@ const ProfileView = () => {
|
|||
{isAdmin ? (
|
||||
<TeamProfileForm team={team} />
|
||||
) : (
|
||||
<div className="flex">
|
||||
<div className="border-subtle flex rounded-b-xl border border-t-0 px-4 py-8 sm:px-6">
|
||||
<div className="flex-grow">
|
||||
<div>
|
||||
<Label className="text-emphasis">{t("team_name")}</Label>
|
||||
|
@ -167,7 +167,7 @@ const ProfileView = () => {
|
|||
</>
|
||||
)}
|
||||
</div>
|
||||
<div className="">
|
||||
<div>
|
||||
<Link href={permalink} passHref={true} target="_blank">
|
||||
<LinkIconButton Icon={ExternalLink}>{t("preview")}</LinkIconButton>
|
||||
</Link>
|
||||
|
|
|
@ -78,7 +78,7 @@ const WebhooksView = () => {
|
|||
<></>
|
||||
)
|
||||
}
|
||||
borderInShellHeader={data && data.profiles.length === 1}
|
||||
borderInShellHeader={(data && data.profiles.length === 1) || !data?.webhookGroups?.length}
|
||||
/>
|
||||
<div>
|
||||
<WebhooksList webhooksByViewer={data} />
|
||||
|
|
Loading…
Reference in New Issue
Block a user