diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-07-20 14:40:37 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-20 16:58:09 +0200 |
commit | 2821595787460810b85fe9f4808869581b2e5975 (patch) | |
tree | de802583a91af18d9cd749cce62b13136aeb6942 /client/src | |
parent | cd801c69072327eddab0eb0e9a7c1f97cbd6601d (diff) | |
download | PeerTube-2821595787460810b85fe9f4808869581b2e5975.tar.gz PeerTube-2821595787460810b85fe9f4808869581b2e5975.tar.zst PeerTube-2821595787460810b85fe9f4808869581b2e5975.zip |
Correct missing test in user-edit template
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 297e6104c..037040902 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 | |||
@@ -95,7 +95,7 @@ | |||
95 | <input | 95 | <input |
96 | type="text" id="email" i18n-placeholder placeholder="mail@example.com" class="form-control" | 96 | type="text" id="email" i18n-placeholder placeholder="mail@example.com" class="form-control" |
97 | formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }" | 97 | formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }" |
98 | autocomplete="off" [readonly]="user.pluginAuth !== null" | 98 | autocomplete="off" [readonly]="user && user.pluginAuth !== null" |
99 | > | 99 | > |
100 | <div *ngIf="formErrors.email" class="form-error"> | 100 | <div *ngIf="formErrors.email" class="form-error"> |
101 | {{ formErrors.email }} | 101 | {{ formErrors.email }} |