Skip to content

Commit

Permalink
docs(enhance_UI): intuitive name for toast message function in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
bangxiangyong committed Jun 1, 2021
1 parent 58b990b commit c155138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentMET4FOF/dashboard/Dashboard_agt_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def plot_monitor_graphs(n_interval):
@app.callback(
dash.dependencies.Output('toast-js-script', 'run'),
[dash.dependencies.Input('interval-update-toast', 'n_intervals')])
def myfun(n_intervals):
def generate_toast_msg(n_intervals):
# if there are messages in toast contents to be displayed
if hasattr(app, "toast_contents") and len(app.toast_contents) > 0:
# pop toast contents
Expand Down

0 comments on commit c155138

Please sign in to comment.