Commit d3c6f240 authored by Martin Schorb's avatar Martin Schorb
Browse files

fix missing callback item when no neighbours in tile view

parent 47264b4d
......@@ -310,7 +310,9 @@ def boundingbox(module,hidden=False):
def tile_view(module,numpanel=1,showlink=False,contrast=True,neighbours=True):
if numpanel<2: neighbours=False
out = list()
linkstyle = {'display':'none'}
......@@ -322,6 +324,9 @@ def tile_view(module,numpanel=1,showlink=False,contrast=True,neighbours=True):
if contrast:
contraststyle = {}
if not neighbours:
out.append(dcc.Dropdown(id={'component': 'tp_dd', 'module': module},style={'display':'none'}))
out.append(html.Div(str(neighbours), id={'component': 'neighbours', 'module': module}, style={'display': 'none'}))
out.append(dcc.Store(data=dict(),id={'component': 'lead_tile', 'module': module}))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment