ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix support modal title
Chocobozzz1f3a605e10a6
diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.html b/client/src/app/videos/+video-watch/modal/video-support.component.htmlindex 90ca8897f5..608a4632b9 100644--- a/client/src/app/videos/+video-watch/modal/video-support.component.html+++ b/client/src/app/videos/+video-watch/modal/video-support.component.html@@ -1,6 +1,6 @@<ng-template #modal let-hide="close"><div class="modal-header">- <h4 i18n class="modal-title">Support {{ user?.account?.displayName }}</h4>+ <h4 i18n class="modal-title">Support {{ video.account.displayName }}</h4><my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon></div>diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.tsindex 027b54efb0..b56a51fbf7 100644--- a/client/src/app/videos/+video-watch/modal/video-support.component.ts+++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts@@ -2,7 +2,6 @@ import { Component, Input, ViewChild } from '@angular/core'import { VideoDetails } from '../../../shared/video/video-details.model'import { NgbModal } from '@ng-bootstrap/ng-bootstrap'import { MarkdownService } from '@app/shared/renderer'-import { User } from '@app/shared'@Component({selector: 'my-video-support',@@ -11,7 +10,6 @@ import { User } from '@app/shared'})export class VideoSupportComponent {@Input() video: VideoDetails = null- @Input() user: User = null@ViewChild('modal', { static: true }) modal: NgbModaldiff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.htmlindex ea258711ef..74ac64a63d 100644--- a/client/src/app/videos/+video-watch/video-watch.component.html+++ b/client/src/app/videos/+video-watch/video-watch.component.html@@ -260,6 +260,6 @@</div><ng-container *ngIf="video !== null">- <my-video-support #videoSupportModal [video]="video" [user]="user"></my-video-support>+ <my-video-support #videoSupportModal [video]="video"></my-video-support><my-video-share #videoShareModal [video]="video" [videoCaptions]="videoCaptions" [playlist]="playlist"></my-video-share></ng-container>