Hi,
I added a counter to allow me to refresh my dash page every 15 seconds. However, it led to the generation of an unwanted dialog box on the frontend. Is there a way to get rid of it or place a white box on top of it?
The code is here:
@callback([Output('page-content', 'children'), Output('store', 'data')],
[Input('total', 'value'), Input('trigger', 'n_intervals')],
[State('store', 'data')])
def display_page(value, n_intervals, counter):
# Stop when we get to zero.
if not value or int(value) < 1:
raise PreventUpdate