layer does not need special case
This commit is contained in:
parent
e1f7c784ad
commit
9983fdbf1e
1 changed files with 0 additions and 2 deletions
|
@ -369,8 +369,6 @@ class Annotation(models.Model):
|
||||||
else:
|
else:
|
||||||
j['place'] = {}
|
j['place'] = {}
|
||||||
|
|
||||||
if layer or (keys and 'layer' in keys):
|
|
||||||
j['layer'] = self.layer
|
|
||||||
if keys and 'item' in keys:
|
if keys and 'item' in keys:
|
||||||
j['item'] = self.item.public_id
|
j['item'] = self.item.public_id
|
||||||
if keys:
|
if keys:
|
||||||
|
|
Loading…
Reference in a new issue