fix: export _populateRecentVaultFilter from config.js, import in sidebar.js
This commit is contained in:
parent
6e59dfdd06
commit
e17da88a81
@ -116,7 +116,7 @@ function _refreshRecentTimestamps() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function _populateRecentVaultFilter() {
|
export function _populateRecentVaultFilter() {
|
||||||
const select = document.getElementById("recent-vault-filter");
|
const select = document.getElementById("recent-vault-filter");
|
||||||
if (!select) return;
|
if (!select) return;
|
||||||
// keep first option "Tous les vaults"
|
// keep first option "Tous les vaults"
|
||||||
|
|||||||
@ -2,6 +2,7 @@ import { state } from './state.js';
|
|||||||
import { safeCreateIcons, getFileIcon } from './utils.js';
|
import { safeCreateIcons, getFileIcon } from './utils.js';
|
||||||
import { api } from './auth.js';
|
import { api } from './auth.js';
|
||||||
import { populateCustomDropdown } from './ui.js';
|
import { populateCustomDropdown } from './ui.js';
|
||||||
|
import { _populateRecentVaultFilter } from './config.js';
|
||||||
import { el } from './viewer.js';
|
import { el } from './viewer.js';
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user