From 62fc691548594bc96fd43e0c29dcd4191cb525f5 Mon Sep 17 00:00:00 2001 From: kimsible Date: Tue, 14 Jul 2020 23:36:15 +0200 Subject: Add channel_name field to create-user view --- .../src/app/+admin/users/user-edit/user-create.component.ts | 1 + .../src/app/+admin/users/user-edit/user-edit.component.html | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/client/src/app/+admin/users/user-edit/user-create.component.ts b/client/src/app/+admin/users/user-edit/user-create.component.ts index f9f5b90bd..fc4013a04 100644 --- a/client/src/app/+admin/users/user-edit/user-create.component.ts +++ b/client/src/app/+admin/users/user-edit/user-create.component.ts @@ -44,6 +44,7 @@ export class UserCreateComponent extends UserEdit implements OnInit { this.buildForm({ username: this.userValidatorsService.USER_USERNAME, + channelName: this.userValidatorsService.USER_USERNAME, email: this.userValidatorsService.USER_EMAIL, password: this.isPasswordOptional() ? this.userValidatorsService.USER_PASSWORD_OPTIONAL : this.userValidatorsService.USER_PASSWORD, role: this.userValidatorsService.USER_ROLE, diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html index d103f8e2f..0c7900529 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/users/user-edit/user-edit.component.html @@ -90,6 +90,17 @@ +
+ + +
+ {{ formErrors.channelName }} +
+
+