family: an empty context is {}, not None (#10860)
This commit is contained in:
parent
a19b1634ce
commit
a1ac0fe712
|
@ -46,7 +46,7 @@ class FamilyInfosCell(CellBase):
|
|||
raise_if_not_cached=not(context.get('synchronous')))
|
||||
if response.status_code == 200:
|
||||
return {'family': response.json()}
|
||||
return None
|
||||
return {}
|
||||
|
||||
def render(self, context):
|
||||
self.context = context
|
||||
|
|
Loading…
Reference in New Issue