fix colspan for user view of reports

pull/4176/head
Rigel Kent 2021-06-07 13:17:31 +02:00
parent c756bae079
commit fd1b2d6953
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 5 additions and 2 deletions

View File

@ -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>