From 0bc51d63b183ca845729c4154cce215fa46006a0 Mon Sep 17 00:00:00 2001 From: Pavel Zavora Date: Sat, 25 Jul 2020 14:05:22 +0200 Subject: [PATCH] chore: prettier --- ui/src/notifications/rules/utils/index.ts | 2 +- ui/src/types/alerting.ts | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/src/notifications/rules/utils/index.ts b/ui/src/notifications/rules/utils/index.ts index 140058e883f..c9f3edf6174 100644 --- a/ui/src/notifications/rules/utils/index.ts +++ b/ui/src/notifications/rules/utils/index.ts @@ -62,7 +62,7 @@ export const getRuleVariantDefaults = ( type: 'telegram', } } - + case 'teams': { return { messageTemplate: defaultMessage, diff --git a/ui/src/types/alerting.ts b/ui/src/types/alerting.ts index 413e5fd3ac6..23351b78c8e 100644 --- a/ui/src/types/alerting.ts +++ b/ui/src/types/alerting.ts @@ -76,7 +76,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