fixed
This commit is contained in:
parent
b98be622e1
commit
4be07130c2
|
@ -73,7 +73,7 @@ class SnapshotsLog(Thing):
|
||||||
snapshots = []
|
snapshots = []
|
||||||
for s in self.snapshot.device.actions:
|
for s in self.snapshot.device.actions:
|
||||||
if s == self.snapshot:
|
if s == self.snapshot:
|
||||||
continue
|
break
|
||||||
if s.type == self.snapshot.type:
|
if s.type == self.snapshot.type:
|
||||||
snapshots.append(s)
|
snapshots.append(s)
|
||||||
return snapshots and 'Update' or 'New Device'
|
return snapshots and 'Update' or 'New Device'
|
||||||
|
|
Reference in New Issue