From ef1225c02d24742b4150c3133467a607eb085a9b Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Thu, 30 Apr 2026 10:52:41 +0200 Subject: [PATCH] Refactor organizer color assignment in exportWorships function: Update the logic to dynamically set the organizer color based on the worship format, improving visual consistency in exported documents. --- controllers/worshipController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/worshipController.js b/controllers/worshipController.js index 15906ea..7f62b06 100644 --- a/controllers/worshipController.js +++ b/controllers/worshipController.js @@ -2690,7 +2690,7 @@ exports.exportWorships = async (req, res) => { const titleColor = format === 'newsletter' ? (isNeighborInvitation ? '0432FF' : '000000') : (isNeighborInvitation ? '0432FF' : '009051'); - const organizerColor = 'EE0000'; + const organizerColor = format === 'newsletter' ? '000000' : 'EE0000'; const serviceColor = '0070C0'; const organColor = 'FF9300';