mirror of https://github.com/Chocobozzz/PeerTube
Correct missing test in user-edit template
parent
cd801c6907
commit
2821595787
|
@ -95,7 +95,7 @@
|
||||||
<input
|
<input
|
||||||
type="text" id="email" i18n-placeholder placeholder="mail@example.com" class="form-control"
|
type="text" id="email" i18n-placeholder placeholder="mail@example.com" class="form-control"
|
||||||
formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }"
|
formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }"
|
||||||
autocomplete="off" [readonly]="user.pluginAuth !== null"
|
autocomplete="off" [readonly]="user && user.pluginAuth !== null"
|
||||||
>
|
>
|
||||||
<div *ngIf="formErrors.email" class="form-error">
|
<div *ngIf="formErrors.email" class="form-error">
|
||||||
{{ formErrors.email }}
|
{{ formErrors.email }}
|
||||||
|
|
Loading…
Reference in New Issue