| Message ID | 20260911210351.2020798-2-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-autobuilder-helper,1/8] dashboard/bugtriage: reformat HTML | expand |
diff --git a/scripts/dashboard/bugtriage/index.html b/scripts/dashboard/bugtriage/index.html index 8427b0d1..7970b5dd 100644 --- a/scripts/dashboard/bugtriage/index.html +++ b/scripts/dashboard/bugtriage/index.html @@ -724,8 +724,10 @@ return active; } + const activeMilestonesPromise = getActiveReleases(); + async function bugsOldMilestone(table) { - const activeMilestones = await getActiveReleases(); + const activeMilestones = await activeMilestonesPromise; const params = new URLSearchParams({ resolution: "---",
Assume that the releases.json doesn't change often and fetch it once whilst the page is loading instead of every time we reload the Old Milestones section. Signed-off-by: Ross Burton <ross.burton@arm.com> --- scripts/dashboard/bugtriage/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)