Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tests

Chocobozzz6a478b11651a
diff --git a/client/src/app/my-account/my-account-video-channels/my-account-video-channel-edit.component.html b/client/src/app/my-account/my-account-video-channels/my-account-video-channel-edit.component.html
index adc969bdb5..d5fb6262a8 100644
--- a/client/src/app/my-account/my-account-video-channels/my-account-video-channel-edit.component.html
+++ b/client/src/app/my-account/my-account-video-channels/my-account-video-channel-edit.component.html
@@ -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>
diff --git a/client/src/app/my-account/my-account-video-channels/my-account-video-channels.component.ts b/client/src/app/my-account/my-account-video-channels/my-account-video-channels.component.ts
index eb04094e1e..eeaca11df9 100644
--- a/client/src/app/my-account/my-account-video-channels/my-account-video-channels.component.ts
+++ b/client/src/app/my-account/my-account-video-channels/my-account-video-channels.component.ts
@@ -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