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 <noreply@anthropic.com>
This commit is contained in:
MarekWo
2026-03-10 21:14:10 +01:00
parent b0076c3739
commit 833d01df9f

View File

@@ -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();
}