This commit is contained in:
Cayo Puigdefabregas 2022-11-29 18:09:53 +01:00
parent b98be622e1
commit 4be07130c2

View file

@ -73,7 +73,7 @@ class SnapshotsLog(Thing):
snapshots = []
for s in self.snapshot.device.actions:
if s == self.snapshot:
continue
break
if s.type == self.snapshot.type:
snapshots.append(s)
return snapshots and 'Update' or 'New Device'