def display_type(selector):
    if selector == 'All':
        return list(ynLabels.values())
    else:
        return []
                id='filtered_selector',
                options=[
                    {'label': 'All ', 'value': 'All'},
                    {'label': 'Customize ', 'value': 'custom'}
                ],
                value='All',
                labelStyle={"display": "inline-block",
                            "margin-right": "1rem",
                            "font-weight": "300"},
                className="dcc_control"
            ),
            dcc.Dropdown(
                id='filt_options',
                options=ynOptions,
                multi=True,
                value=list(ynLabels.values()),
                className="dcc_control",
                style={'display': 'none'}
            ),
        ])
    ], open=True)

])

dataSourceFilters = html.Div([
    html.Details([
        html.Summary("Filter by Data Source"),
        html.Div(children=[
            html.P(
                'Institution:',
                className="control_label"