shrang / callbacks.jl
“samirparhi-dev”
updated
60a9889
Raw History Blame Contribute Delete
346 Bytes
using Dash
include("utils.jl")
app.callback(
Output("page-content", "children"),
Input("url", "pathname")
) do pathname
if pathname == "#github-actions"
data = fetch_json_data(url::String)
return render_vulnerability_cards(data)
else
return html_div("Select a category from the side panel.")
end
end