diff options
Diffstat (limited to 'pages/locations.py')
-rw-r--r-- | pages/locations.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pages/locations.py b/pages/locations.py index 470fc19..9cb36bc 100644 --- a/pages/locations.py +++ b/pages/locations.py @@ -22,7 +22,9 @@ def layout(): id='locations-days', options=[{'label': '{} days'.format(d), 'value': d} for d in [7, 30, 90]], value=7, - clearable=False + clearable=False, + persistence=True, + persistence_type='memory' ) ]), dbc.Col(width=12, lg=3, children=[ @@ -32,7 +34,9 @@ def layout(): display_format='DD-MM-YYYY', max_date_allowed=get_newest_date(), initial_visible_month=get_newest_date(), - first_day_of_week=1 + first_day_of_week=1, + persistence=True, + persistence_type='memory' ), ]), dbc.Col(width=12, lg=6, children=[ |