Commit 4440ba69 authored by Martin Schorb's avatar Martin Schorb
Browse files

slice selector dissapear when n=1 fix

parent ffbc7b9b
Pipeline #27314 passed with stage
in 58 seconds
......@@ -241,7 +241,9 @@ def tile_view(module,numpanel=1,showlink=False,contrast=True):
out.append(html.Div([html.Details([html.Summary('Explore tile'+idx_title),
html.Table([html.Tr([html.Td('Slice:'),
html.Td(dcc.Input(id={'component': 'tileim_section_in'+idx_str, 'module': module},type='number',min=0,value=0)),
html.Td(html.Div(dcc.Input(id={'component': 'tileim_section_in'+idx_str, 'module': module},type='number',min=0,value=0),
id={'component': 'tileim_section_div'+idx_str, 'module': module},
style={})),
html.Td('Tile'),
html.Td(dcc.Dropdown(id={'component': 'tile_dd'+idx_str, 'module': module},className='dropdown_inline'))])
]),
......@@ -291,7 +293,9 @@ def section_view(module,numpanel=1,contrast=True):
out.append(html.Div([html.Details([html.Summary('Explore slice'+idx_title),
html.Table([html.Tr([html.Td('Slice:'),
html.Td(dcc.Input(id={'component': 'sliceim_section_in'+idx_str, 'module': module},type='number',min=0,value=0)),
html.Div(html.Td(dcc.Input(id={'component': 'sliceim_section_in'+idx_str, 'module': module},type='number',min=0,value=0),
id={'component': 'sliceim_section_div'+idx_str, 'module': module},
style={})),
])
]),
html.Div(style=contraststyle,id={'component': 'sliceim_contrastdiv'+idx_str, 'module': module},children=[
......
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