Merge pull request #412 from eReuse/bugfix/4122-snapshots-log-type-upload
Bugfix/4122 snapshots log type upload
This commit is contained in:
commit
0233a2ba6b
|
@ -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'
|
||||
|
|
Reference in a new issue