From 8989953ffe056e1da4e6a111afd2bc6f7e587834 Mon Sep 17 00:00:00 2001 From: joshuaunity Date: Tue, 22 Oct 2024 08:56:01 +0100 Subject: [PATCH] chore: unused code and comments Signed-off-by: joshuaunity --- flexmeasures/ui/templates/base.html | 2 +- flexmeasures/ui/templates/crud/asset.html | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flexmeasures/ui/templates/base.html b/flexmeasures/ui/templates/base.html index 8bc076807..888d6ec42 100644 --- a/flexmeasures/ui/templates/base.html +++ b/flexmeasures/ui/templates/base.html @@ -365,7 +365,7 @@ }); } - // even lister to refresh graph + // event listener to refresh graph document.addEventListener('refreshGraph', async function() { await embedAndLoad(chartSpecsPath + 'event_starts_after=' + storeStartDate.toISOString() + '&event_ends_before=' + storeEndDate.toISOString() + '&', elementId, datasetName, previousResult, storeStartDate, storeEndDate); }) diff --git a/flexmeasures/ui/templates/crud/asset.html b/flexmeasures/ui/templates/crud/asset.html index 89b1d15d0..f33c36892 100644 --- a/flexmeasures/ui/templates/crud/asset.html +++ b/flexmeasures/ui/templates/crud/asset.html @@ -394,8 +394,8 @@