in static/plugins/ghactions.js [7:18]
async function seed_ghactions() {
let qs = new URLSearchParams(document.location.hash);
let qsnew = new URLSearchParams();
if (qs.get("project")) qsnew.set("project", qs.get("project"));
if (qs.get("hours")) qsnew.set("hours", qs.get("hours"));
if (qs.get("limit")) qsnew.set("limit", qs.get("limit"));
if (qs.get("group")) qsnew.set("group", qs.get("group"));
if (qs.get("selfhosted")) qsnew.set("selfhosted", qs.get("selfhosted"));
ghactions_json = await (await fetch(`/api/ghactions?${qsnew.toString()}`)).json();
ghactions_json.all_projects.unshift("All projects");
show_ghactions(qs.get("project"), parseInt(qs.get("hours")||DEFAULT_HOURS), parseInt(qs.get("limit")||DEFAULT_LIMIT), qs.get("group")||DEFAULT_GROUP, qs.get("selfhosted")||false);
}