fix: add missing state. prefix to all bare state variable references across all modules
CI / lint (push) Successful in 15s
CI / security (push) Successful in 8s
CI / test (push) Successful in 16s
CI / build (push) Successful in 2s

This commit is contained in:
2026-05-28 18:33:39 -04:00
parent 75fac8256b
commit 148b3851ae
8 changed files with 47 additions and 47 deletions
+3 -3
View File
@@ -153,7 +153,7 @@ const DashboardRecentWidget = {
_currentFilter: "",
async load(vaultFilter = "") {
const v = vaultFilter || selectedContextVault || "all";
const v = vaultFilter || state.selectedContextVault || "all";
this._currentFilter = v;
this.showLoading();
@@ -371,7 +371,7 @@ const DashboardRecentWidget = {
// Keep first option "Tous les vaults"
while (select.options.length > 1) select.remove(1);
if (typeof allVaults !== "undefined" && Array.isArray(state.allVaults)) {
if (typeof state.allVaults !== "undefined" && Array.isArray(state.allVaults)) {
state.allVaults.forEach((v) => {
const opt = document.createElement("option");
opt.value = v.name;
@@ -401,7 +401,7 @@ const DashboardBookmarkWidget = {
_currentFilter: "",
async load(vaultFilter = "") {
const v = vaultFilter || selectedContextVault || "all";
const v = vaultFilter || state.selectedContextVault || "all";
this._currentFilter = v;
this.showLoading();