Browse Source

ref(sentry apps): Don't display 'published' status in metric alert dropdown (#31809)

Colleen O'Rourke 3 years ago
parent
commit
ec28d49ab0

+ 1 - 1
static/app/views/alerts/incidentRules/triggers/actionsPanel/index.tsx

@@ -105,7 +105,7 @@ const getFullActionTitle = ({
   'type' | 'integrationName' | 'sentryAppName' | 'status'
 >) => {
   if (sentryAppName) {
-    if (status) {
+    if (status && status !== 'published') {
       return `${sentryAppName} (${status})`;
     }
     return `${sentryAppName}`;