From d9a046cf66ed7650b10bc0e6a567e089644d9004 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 13 Feb 2025 16:12:23 +0100 Subject: dashboard/app: fix url generation It currently generates &subsystem=null&manager=null&unique-only=null. I'd like to see &subsystem=&manager=&unique-only= --- dashboard/app/static/coverage.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/app/static/coverage.js b/dashboard/app/static/coverage.js index dbc68b7c0..7f182d6d5 100644 --- a/dashboard/app/static/coverage.js +++ b/dashboard/app/static/coverage.js @@ -39,9 +39,9 @@ function initUpdateForm(){ // "#file-details-prev" and "#file-details-curr" are the corresponding
s used to show per-file details. function onShowFileContent(url) { var curUrlParams = new URLSearchParams(window.location.search); - url += '&subsystem=' + curUrlParams.get('subsystem') - url += '&manager=' + curUrlParams.get('manager') - url += '&unique-only=' + curUrlParams.get('unique-only') + url += '&subsystem=' + (curUrlParams.get('subsystem') || "") + url += '&manager=' + (curUrlParams.get('manager') || "") + url += '&unique-only=' + (curUrlParams.get('unique-only') || "") $.get(url, function(response) { $("#file-content-prev").html($("#file-content-curr").html()); -- cgit mrf-deployment