(chore): removing DOM Operation

This commit is contained in:
vorotamoroz
2026-05-13 03:55:11 +01:00
parent e9afe06968
commit 0549e901b2
7 changed files with 131 additions and 69 deletions

View File

@@ -41,7 +41,7 @@ async function renderHistoryList(): Promise<VaultHistoryItem[]> {
const [items, lastUsedId] = await Promise.all([historyStore.getVaultHistory(), historyStore.getLastUsedVaultId()]);
listEl.innerHTML = "";
listEl.replaceChildren();
emptyEl.classList.toggle("is-hidden", items.length > 0);
for (const item of items) {