aboutsummaryrefslogtreecommitdiff
path: root/www/mrPreview.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/mrPreview.html')
-rw-r--r--www/mrPreview.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/mrPreview.html b/www/mrPreview.html
index 8fcc3fa..a034a41 100644
--- a/www/mrPreview.html
+++ b/www/mrPreview.html
@@ -42,6 +42,10 @@
})
function renderChanges(changes) {
const content = document.getElementById('content')
+ const headerText = document.createElement('p')
+ headerText.textContent = `${Object.keys(changes).length} features with changes`
+ content.appendChild(headerText)
+
for (const [id, change] of Object.entries(changes)) {
const header = document.createElement('h2')
header.textContent = id