From f5cf2ca0da7afca946f5e296a4167edc1bc8677d Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 20:40:46 -0400 Subject: [PATCH] fix: add state. prefix to allVaults in viewer.js getVaultIcon --- frontend/js/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/viewer.js b/frontend/js/viewer.js index c638ce9..0bac508 100644 --- a/frontend/js/viewer.js +++ b/frontend/js/viewer.js @@ -726,7 +726,7 @@ function attachTreeItemLongPress(itemEl, getMenuData) { } export function getVaultIcon(vaultName, size = 16) { - const v = allVaults.find((val) => val.name === vaultName); + const v = state.allVaults.find((val) => val.name === vaultName); const type = v ? v.type : "VAULT"; if (type === "DIR") {