Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sranka committed Aug 12, 2020
1 parent ccacbbc commit 9e48ef5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/notifications/rules/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const getRuleVariantDefaults = (
type: 'telegram',
}
}

case 'teams': {
return {
messageTemplate: defaultMessage,
Expand Down
8 changes: 7 additions & 1 deletion ui/src/types/alerting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ export type NotificationRuleBaseDraft = Overwrite<
}
>

type RuleDraft = SlackRule | SMTPRule | PagerDutyRule | HTTPRule | TelegramRule | TeamsRule
type RuleDraft =
| SlackRule
| SMTPRule
| PagerDutyRule
| HTTPRule
| TelegramRule
| TeamsRule

export type NotificationRuleDraft = RuleDraft

Expand Down

0 comments on commit 9e48ef5

Please sign in to comment.