diff --git a/src/app/pages/community/community-edit-form/community-edit-form.component.html b/src/app/pages/community/community-edit-form/community-edit-form.component.html
index 058c57e..0a2797b 100644
--- a/src/app/pages/community/community-edit-form/community-edit-form.component.html
+++ b/src/app/pages/community/community-edit-form/community-edit-form.component.html
@@ -56,7 +56,7 @@
- Please add a valid email.
diff --git a/src/app/pages/community/community-edit-form/community-edit-form.component.ts b/src/app/pages/community/community-edit-form/community-edit-form.component.ts
index e0110b0..9866b44 100644
--- a/src/app/pages/community/community-edit-form/community-edit-form.component.ts
+++ b/src/app/pages/community/community-edit-form/community-edit-form.component.ts
@@ -144,6 +144,10 @@ export class CommunityEditFormComponent implements OnInit{
}
}
+ public validEmail(email: string): boolean {
+ return Validator.emailValidator(email);
+ }
+
public updateCommunity() {
if (!Session.isLoggedIn()) {
this._router.navigate(['/user-info'], { queryParams:
|