[frontend] Add telegram validator to welcome message

This commit is contained in:
Cathy Hu 2020-09-06 19:12:02 +02:00
parent 7d54375b43
commit 547e671a2d

View file

@ -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) {