From 58e335e3d6d22a7f95d406e8dfbe3178841ea421 Mon Sep 17 00:00:00 2001 From: Stephen Cefali Date: Thu, 12 Oct 2023 11:11:27 -0700 Subject: [PATCH 1/2] hide provider option for weekly reports --- .../notificationSettingsByTypeV2.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/static/app/views/settings/account/notifications/notificationSettingsByTypeV2.tsx b/static/app/views/settings/account/notifications/notificationSettingsByTypeV2.tsx index 3468d9bd4b3404..c1de6025f9edba 100644 --- a/static/app/views/settings/account/notifications/notificationSettingsByTypeV2.tsx +++ b/static/app/views/settings/account/notifications/notificationSettingsByTypeV2.tsx @@ -332,14 +332,16 @@ class NotificationSettingsByTypeV2 extends DeprecatedAsyncComponent -
- - + {notificationType !== 'reports' ? ( +
+ + + ) : null} Date: Thu, 12 Oct 2023 11:27:46 -0700 Subject: [PATCH 2/2] hide org selector if entity is an organization --- .../notifications/notificationSettingsByEntity.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/static/app/views/settings/account/notifications/notificationSettingsByEntity.tsx b/static/app/views/settings/account/notifications/notificationSettingsByEntity.tsx index 4828c78bc6b3d9..6f1c987be52985 100644 --- a/static/app/views/settings/account/notifications/notificationSettingsByEntity.tsx +++ b/static/app/views/settings/account/notifications/notificationSettingsByEntity.tsx @@ -236,11 +236,15 @@ function NotificationSettingsByEntity(props: Props) { - + {entityType === 'project' ? ( + + ) : ( + t('Settings for Organizations') + )} {/* TODO: enable search for sentry projects */}