Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions static/app/views/alerts/rules/issue/details/ruleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -473,12 +473,14 @@ export default function AlertRuleDetails() {
<Alert.Container>
{rule.snoozeForEveryone ? (
<Alert variant="info">
{tct(
"[creator] muted this alert for everyone so you won't get these notifications in the future.",
{
creator: rule.snoozeCreatedBy,
}
)}
{rule.snoozeCreatedBy
? tct(
"[creator] muted this alert for everyone so you won't get these notifications in the future.",
{creator: rule.snoozeCreatedBy}
)
: t(
"This alert has been muted for everyone so you won't get these notifications in the future."
)}
</Alert>
) : (
<UserSnoozeDeprecationBanner projectId={project.id} />
Expand Down
14 changes: 8 additions & 6 deletions static/app/views/alerts/rules/metric/details/body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,14 @@ export function MetricDetailsBody({
<Alert.Container>
{rule.snoozeForEveryone ? (
<Alert variant="info">
{tct(
"[creator] muted this alert for everyone so you won't get these notifications in the future.",
{
creator: rule.snoozeCreatedBy,
}
)}
{rule.snoozeCreatedBy
? tct(
"[creator] muted this alert for everyone so you won't get these notifications in the future.",
{creator: rule.snoozeCreatedBy}
)
: t(
"This alert has been muted for everyone so you won't get these notifications in the future."
)}
</Alert>
) : (
<UserSnoozeDeprecationBanner projectId={project.id} />
Expand Down
Loading