From 8c7f7f8805a50e35e575749ac7dea2abf86cfa1b Mon Sep 17 00:00:00 2001 From: Ivo Oskamp Date: Mon, 12 Jan 2026 13:46:37 +0100 Subject: [PATCH] Auto-commit local changes before build (2026-01-12 13:46:37) --- .last-branch | 2 +- containers/backupchecks/src/templates/main/inbox.html | 9 +++++---- docs/changelog.md | 7 +++++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.last-branch b/.last-branch index be439dd..a1e6f7b 100644 --- a/.last-branch +++ b/.last-branch @@ -1 +1 @@ -v20260112-10-fix-vspc-approve-endpoint-duplicate +v20260112-11-show-vspc-company-mapping-popup diff --git a/containers/backupchecks/src/templates/main/inbox.html b/containers/backupchecks/src/templates/main/inbox.html index da280e7..3b52c4d 100644 --- a/containers/backupchecks/src/templates/main/inbox.html +++ b/containers/backupchecks/src/templates/main/inbox.html @@ -510,11 +510,12 @@ function findCustomerIdByName(name) { mapBtn.classList.add("d-none"); if (approveBtn) approveBtn.classList.remove("d-none"); - var bsw = String(meta.backup_software || "").trim(); - var btype = String(meta.backup_type || "").trim(); - var jname = String(meta.job_name || "").trim(); + var bsw = String(meta.backup_software || "").trim().toLowerCase(); + var btype = String(meta.backup_type || "").trim().toLowerCase(); - if (bsw !== "Veeam" || btype !== "Service Provider Console" || jname !== "Active alarms summary") { + // Show the dedicated mapping popup for VSPC multi-company summary emails. + // Do not rely on an exact job name match (it can vary between mail variants / legacy data). + if (bsw !== "veeam" || btype !== "service provider console") { return; } diff --git a/docs/changelog.md b/docs/changelog.md index 61525d5..0e75d79 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -192,6 +192,13 @@ - Corrected misplaced route decorators that caused the approve handler to be mapped to the delete endpoint. - Restored proper route separation between inbox message delete and VSPC company approve actions. - Added missing authentication requirement to the VSPC approve endpoint to align with other inbox actions. + +--- + +## v20260112-11-show-vspc-company-mapping-popup +- Fixed VSPC company-mapping popup visibility by removing strict job name matching in the Inbox modal logic. +- Made VSPC detection case-insensitive for backup software/type to improve robustness across mail variants and legacy data. + ================================================================================================================================================ ## v0.1.19 This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs. -- 2.45.2