fix uuid of snapshot

This commit is contained in:
Cayo Puigdefabregas 2022-09-20 12:43:04 +02:00
parent e02644f75c
commit 31c903230a

View file

@ -75,8 +75,8 @@
</a> </a>
</td> </td>
<td> <td>
<a href="{{ url_for('inventory.export', export_id='snapshot') }}?id={{ ac.snapshot.id }}"> <a href="{{ url_for('inventory.export', export_id='snapshot') }}?id={{ ac.snapshot.uuid }}">
{{ ac.snapshot.id }} {{ ac.snapshot.uuid }}
</a> </a>
</td> </td>
<td> <td>
@ -92,7 +92,7 @@
</td> </td>
<td>{{ ac.created.strftime('%Y-%m-%d %H:%M:%S')}}</td> <td>{{ ac.created.strftime('%Y-%m-%d %H:%M:%S')}}</td>
<td> <td>
<a href="{{ url_for('inventory.export', export_id='snapshot') }}?id={{ ac.snapshot.id }}"> <a href="{{ url_for('inventory.export', export_id='snapshot') }}?id={{ ac.snapshot.uuid }}">
<i class="bi bi-box-arrow-up-right"></i> <i class="bi bi-box-arrow-up-right"></i>
</a> </a>
</td> </td>