From eb66baf8421f619400260d6f8845292d53f7403a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 7 Jun 2022 15:12:13 +0200 Subject: [PATCH] fix snapshot_uuid == None --- ereuse_devicehub/templates/inventory/snapshots_list.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/templates/inventory/snapshots_list.html b/ereuse_devicehub/templates/inventory/snapshots_list.html index a52f76c2..43253d1b 100644 --- a/ereuse_devicehub/templates/inventory/snapshots_list.html +++ b/ereuse_devicehub/templates/inventory/snapshots_list.html @@ -37,16 +37,18 @@ {% for snap in snapshots_log %} - {% if snap.sid %} + {% if snap.sid and snap.snapshot_uuid %} {{ snap.sid }} {% endif %} + {% if snap.snapshot_uuid %} {{ snap.snapshot_uuid }} + {% endif %} {{ snap.version }}