Web: only use job type label if job type has been loaded

This commit is contained in:
Sybren A. Stüvel 2022-04-19 11:34:13 +02:00
parent 2e41d9a024
commit 6655c2b3d7

View File

@ -19,7 +19,7 @@
<tr class="field-type"> <tr class="field-type">
<th>Type</th> <th>Type</th>
<td>{{ jobType.label }}</td> <td>{{ jobType ? jobType.label : jobData.type }}</td>
</tr> </tr>
<tr class="field-priority"> <tr class="field-priority">