Skip to content

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

fix colspan for user view of reports

Rigel Kentfd1b2d695320
diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html
index b1c065c7a5..4bf83316bd 100644
--- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html
+++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html
@@ -150,8 +150,11 @@
<ng-template pTemplate="rowexpansion" let-abuse>
<tr>
- <td class="expand-cell" colspan="8">
- <my-abuse-details [abuse]="abuse" [isAdminView]="isAdminView()"></my-abuse-details>
+ <td *ngIf="isAdminView()" class="expand-cell" colspan="8">
+ <my-abuse-details [abuse]="abuse" [isAdminView]="true"></my-abuse-details>
+ </td>
+ <td *ngIf="!isAdminView()" class="expand-cell" colspan="6">
+ <my-abuse-details [abuse]="abuse" [isAdminView]="false"></my-abuse-details>
</td>
</tr>
</ng-template>