]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add class to email change form
authorChocobozzz <me@florianbigard.com>
Wed, 12 Jun 2019 15:06:28 +0000 (17:06 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 12 Jun 2019 15:06:28 +0000 (17:06 +0200)
client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html
client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts

index ebfe3126d8ca8fff9495201a7ef6cb5df86dbf63..5492cdf226c4145f8fd871659c64e66afd62c15b 100644 (file)
@@ -9,7 +9,7 @@
   <span class="email">{{ user.pendingEmail }}</span> is awaiting email verification
 </div>
 
-<form role="form" (ngSubmit)="changeEmail()" [formGroup]="form">
+<form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form">
 
   <div class="form-group">
     <label i18n for="new-email">New email</label>
index 577c5b102c459e12df8969f9c00e9cc03aa4ef5e..ec7cf935c7464d54c773916a0919f0362ac54cd5 100644 (file)
@@ -5,7 +5,7 @@ import { I18n } from '@ngx-translate/i18n-polyfill'
 import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service'
 import { UserValidatorsService } from '@app/shared/forms/form-validators/user-validators.service'
 import { User } from '../../../../../../shared'
-import { switchMap, tap } from 'rxjs/operators'
+import { tap } from 'rxjs/operators'
 
 @Component({
   selector: 'my-account-change-email',