1
0
Fork 0

fix colspan for user view of reports

This commit is contained in:
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

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>