Skip to content

Commit

Permalink
disable updating all as premium feature, kek
Browse files Browse the repository at this point in the history
  • Loading branch information
mayushii21 committed Sep 9, 2024
1 parent 563eac0 commit 5384631
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/innov8/components/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ def update_button() -> dbc.ButtonGroup:
},
),
dcc.Dropdown(
options=["Ticker", "Sector", "All"],
options=[
{"label": "Ticker", "value": "Ticker"},
{"label": "Sector", "value": "Sector"},
{"label": "All (Premium)", "value": "All", "disabled": True},
],
value="Ticker",
id="update-dropdown",
style={
"width": "auto",
"minWidth": "6em",
"minWidth": "8em",
"height": "37px",
"borderTopLeftRadius": 0, # squarify :]
"borderBottomLeftRadius": 0,
Expand Down

0 comments on commit 5384631

Please sign in to comment.