avoir issue in template

This commit is contained in:
Arnaud Delcasse 2023-01-17 08:57:32 +01:00
parent 7220c4e350
commit 608d5c3ad5
1 changed files with 2 additions and 0 deletions

View File

@ -89,7 +89,9 @@
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6"> <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
{{if gt (len (index $.ViewState.vehicles_map .Vehicleid).Administrators) 0}}
{{ (index $.ViewState.groups_map (index (index $.ViewState.vehicles_map .Vehicleid).Administrators 0)).Data.name }} {{ (index $.ViewState.groups_map (index (index $.ViewState.vehicles_map .Vehicleid).Administrators 0)).Data.name }}
{{end}}
</td> </td>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6"> <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">