Verified Commit fd1b2d69 authored by Rigel Kent's avatar Rigel Kent
Browse files

fix colspan for user view of reports

parent c756bae0
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment