From 833d01df9ff25084e8c2edca718c9fbdd707abd7 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Tue, 10 Mar 2026 21:14:10 +0100 Subject: [PATCH] fix(contacts): remove duplicate const declaration breaking contacts.js applySortAndFilters() had duplicate const declarations for sourceFilter and selectedSource, causing a SyntaxError that prevented the entire contacts.js from loading. Both Pending and Existing pages were broken. Co-Authored-By: Claude Opus 4.6 --- app/static/js/contacts.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/static/js/contacts.js b/app/static/js/contacts.js index 0e29d9c..a4e5a0a 100644 --- a/app/static/js/contacts.js +++ b/app/static/js/contacts.js @@ -1849,8 +1849,6 @@ function applySortAndFilters() { renderExistingList(filteredContacts); // When Blocked filter is active, also show name-blocked entries - const sourceFilter = document.getElementById('sourceFilter'); - const selectedSource = sourceFilter ? sourceFilter.value : 'ALL'; if (selectedSource === 'BLOCKED') { loadBlockedNamesList(); }