Merge pull request #111 from razvandimescu/fix/allowlist-input-focus

fix(dashboard): allowlist input erased by polling refresh
This commit was merged in pull request #111.
This commit is contained in:
Razvan Dimescu
2026-04-16 15:27:02 +03:00
committed by GitHub

View File

@@ -1354,6 +1354,7 @@ function renderBlockingInfo(info) {
} }
function renderAllowlist(entries) { function renderAllowlist(entries) {
if (document.activeElement && document.activeElement.id === 'allowDomainInput') return;
const el = document.getElementById('blockingAllowlist'); const el = document.getElementById('blockingAllowlist');
const count = entries.length; const count = entries.length;
el.innerHTML = ` el.innerHTML = `