diff --git a/frontend/js/config.js b/frontend/js/config.js index 5fbac8a..b3dae0a 100644 --- a/frontend/js/config.js +++ b/frontend/js/config.js @@ -116,7 +116,7 @@ function _refreshRecentTimestamps() { }); } -function _populateRecentVaultFilter() { +export function _populateRecentVaultFilter() { const select = document.getElementById("recent-vault-filter"); if (!select) return; // keep first option "Tous les vaults" diff --git a/frontend/js/sidebar.js b/frontend/js/sidebar.js index 30e749f..1b8871e 100644 --- a/frontend/js/sidebar.js +++ b/frontend/js/sidebar.js @@ -2,6 +2,7 @@ import { state } from './state.js'; import { safeCreateIcons, getFileIcon } from './utils.js'; import { api } from './auth.js'; import { populateCustomDropdown } from './ui.js'; +import { _populateRecentVaultFilter } from './config.js'; import { el } from './viewer.js'; // ---------------------------------------------------------------------------