mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user