aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-07 11:05:45 +0100
committerChocobozzz <me@florianbigard.com>2021-12-07 11:05:45 +0100
commitae9809a7d021fcaf01ee482a9c6c59fdd50125a6 (patch)
tree7aa2aba7bd596ffbf1ad4d81f275b101a50a3781 /client/src/app/+accounts
parent5bd427e01c89e178ceaba357ab1f392553c259bb (diff)
downloadPeerTube-ae9809a7d021fcaf01ee482a9c6c59fdd50125a6.tar.gz
PeerTube-ae9809a7d021fcaf01ee482a9c6c59fdd50125a6.tar.zst
PeerTube-ae9809a7d021fcaf01ee482a9c6c59fdd50125a6.zip
Fix report modal error
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r--client/src/app/+accounts/accounts.component.html2
-rw-r--r--client/src/app/+accounts/accounts.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html
index 245edfd58..0bb24de2e 100644
--- a/client/src/app/+accounts/accounts.component.html
+++ b/client/src/app/+accounts/accounts.component.html
@@ -85,5 +85,5 @@
85</div> 85</div>
86 86
87<ng-container *ngIf="prependModerationActions"> 87<ng-container *ngIf="prependModerationActions">
88 <my-account-report #accountReportModal [account]="account"></my-account-report> 88 <my-account-report #accountReportModal></my-account-report>
89</ng-container> 89</ng-container>
diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts
index 3cb117fcc..0dcbc250a 100644
--- a/client/src/app/+accounts/accounts.component.ts
+++ b/client/src/app/+accounts/accounts.component.ts
@@ -162,7 +162,7 @@ export class AccountsComponent implements OnInit, OnDestroy {
162 } 162 }
163 163
164 private showReportModal () { 164 private showReportModal () {
165 this.accountReportModal.show() 165 this.accountReportModal.show(this.account)
166 } 166 }
167 167
168 private loadUserIfNeeded (account: Account) { 168 private loadUserIfNeeded (account: Account) {