From 4b33885caf264dfb5a3e5e3be6fcff223011707d Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Mon, 18 Aug 2025 15:38:12 +0100 Subject: [PATCH] Add another check to avoid console errors --- src/js/techreport/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/techreport/table.js b/src/js/techreport/table.js index 9658f05e..4e16fcde 100644 --- a/src/js/techreport/table.js +++ b/src/js/techreport/table.js @@ -192,7 +192,7 @@ function updateTable(id, config, appConfig, apps, data) { if(column.viz === 'progress-circle' && value) { const score = DataUtils.getLighthouseScoreCategories(value, appConfig.lighthouse_brackets); - wrapper.classList.add('progress-circle', score.name); + wrapper.classList.add('progress-circle', score?.name); wrapper.setAttribute('style', `--offset: ${value}%`); }