fix snapshot_uuid == None

This commit is contained in:
Cayo Puigdefabregas 2022-06-07 15:12:13 +02:00
parent 74f9b88ece
commit eb66baf842

View file

@ -37,16 +37,18 @@
{% for snap in snapshots_log %}
<tr>
<td>
{% if snap.sid %}
{% if snap.sid and snap.snapshot_uuid %}
<a href="{{ url_for('inventory.snapshot_detail', snapshot_uuid=snap.snapshot_uuid) }}">
{{ snap.sid }}
</a>
{% endif %}
</td>
<td>
{% if snap.snapshot_uuid %}
<a href="{{ url_for('inventory.snapshot_detail', snapshot_uuid=snap.snapshot_uuid) }}">
{{ snap.snapshot_uuid }}
</a>
{% endif %}
</td>
<td>
{{ snap.version }}