From 547e671a2da37138a4c9f2862407527661d20bdc Mon Sep 17 00:00:00 2001 From: Cathy Hu Date: Sun, 6 Sep 2020 19:12:02 +0200 Subject: [PATCH] [frontend] Add telegram validator to welcome message --- .../telegram/telegram-dialog/telegram-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibicara-frontend/src/app/platforms/telegram/telegram-dialog/telegram-dialog.component.ts b/kibicara-frontend/src/app/platforms/telegram/telegram-dialog/telegram-dialog.component.ts index a817097..b8cc0cd 100644 --- a/kibicara-frontend/src/app/platforms/telegram/telegram-dialog/telegram-dialog.component.ts +++ b/kibicara-frontend/src/app/platforms/telegram/telegram-dialog/telegram-dialog.component.ts @@ -25,7 +25,7 @@ export class TelegramDialogComponent implements OnInit { ngOnInit(): void { this.form = this.formBuilder.group({ api_token: ['', Validators.required], - welcome_message: '', + welcome_message: ['', Validators.required], }); if (this.data.telegramId) {