From 68460ec431ff3ae4be183210da071ff6b70b6c30 Mon Sep 17 00:00:00 2001 From: Udit Takkar Date: Mon, 1 Jan 2024 20:30:02 +0530 Subject: [PATCH] fix: ui bugs in settings page --- packages/features/ee/teams/pages/team-profile-view.tsx | 4 ++-- packages/features/webhooks/pages/webhooks-view.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/features/ee/teams/pages/team-profile-view.tsx b/packages/features/ee/teams/pages/team-profile-view.tsx index 8055ebb8e33c76..808b4f379a2041 100644 --- a/packages/features/ee/teams/pages/team-profile-view.tsx +++ b/packages/features/ee/teams/pages/team-profile-view.tsx @@ -151,7 +151,7 @@ const ProfileView = () => { {isAdmin ? ( ) : ( -
+
@@ -167,7 +167,7 @@ const ProfileView = () => { )}
-
+
{t("preview")} diff --git a/packages/features/webhooks/pages/webhooks-view.tsx b/packages/features/webhooks/pages/webhooks-view.tsx index 34c1975f0c9ecf..2cd9e1946cd5ac 100644 --- a/packages/features/webhooks/pages/webhooks-view.tsx +++ b/packages/features/webhooks/pages/webhooks-view.tsx @@ -78,7 +78,7 @@ const WebhooksView = () => { <> ) } - borderInShellHeader={data && data.profiles.length === 1} + borderInShellHeader={(data && data.profiles.length === 1) || !data?.webhookGroups?.length} />