]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix tests
authorChocobozzz <me@florianbigard.com>
Thu, 26 Apr 2018 15:06:02 +0000 (17:06 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 26 Apr 2018 15:06:02 +0000 (17:06 +0200)
client/src/app/my-account/my-account-video-channels/my-account-video-channel-edit.component.html
client/src/app/my-account/my-account-video-channels/my-account-video-channels.component.ts

index adc969bdb5a585f8bbbedbfb3208972283443edc..d5fb6262a874f49eab43bdc555c459ee1fd55707 100644 (file)
@@ -10,8 +10,8 @@
       type="text" id="display-name"
       formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }"
     >
-    <div *ngIf="formErrors.display-name" class="form-error">
-      {{ formErrors.display-name }}
+    <div *ngIf="formErrors['display-name']" class="form-error">
+      {{ formErrors['display-name'] }}
     </div>
   </div>
 
index eb04094e1e493c6ea01c97d45b9b4ab6fe8943b1..eeaca11df96d7d76583bbbbbc597d0de568a1717 100644 (file)
@@ -13,7 +13,7 @@ import { User } from '@app/shared'
   templateUrl: './my-account-video-channels.component.html',
   styleUrls: [ './my-account-video-channels.component.scss' ]
 })
-export class MyAccountVideoChannelsComponent implements OnInit{
+export class MyAccountVideoChannelsComponent implements OnInit {
   videoChannels: VideoChannel[] = []
 
   private user: User