Add ability to display job errors

This commit is contained in:
Chocobozzz 2018-02-27 10:39:15 +01:00
parent 98f535a508
commit c1953c5664
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,11 @@
<pre>{{ job.data }}</pre> <pre>{{ job.data }}</pre>
</td> </td>
</tr> </tr>
<tr class="job-error" *ngIf="job.error">
<td colspan="6">
<pre>{{ job.error }}</pre>
</td>
</tr>
</ng-template> </ng-template>
</p-table> </p-table>

View File

@ -8,3 +8,7 @@
pre { pre {
font-size: 11px; font-size: 11px;
} }
.job-error {
color: red;
}