fix: remove duplicate inline exports from legacy.js (already in export block)
This commit is contained in:
parent
9971168025
commit
e2b35fc19e
@ -44,7 +44,7 @@ function hideProgressBar() {
|
|||||||
// loadVaultSettings
|
// loadVaultSettings
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
export async function loadVaultSettings() {
|
async function loadVaultSettings() {
|
||||||
try {
|
try {
|
||||||
const settings = await api("/api/vaults/settings/all");
|
const settings = await api("/api/vaults/settings/all");
|
||||||
state.vaultSettings = settings;
|
state.vaultSettings = settings;
|
||||||
@ -84,7 +84,7 @@ function _isInputFocused() {
|
|||||||
// initSearch
|
// initSearch
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
export function initSearch() {
|
function initSearch() {
|
||||||
const input = document.getElementById("search-input");
|
const input = document.getElementById("search-input");
|
||||||
if (!input) return;
|
if (!input) return;
|
||||||
const caseBtn = document.getElementById("search-case-btn");
|
const caseBtn = document.getElementById("search-case-btn");
|
||||||
@ -309,7 +309,7 @@ export function initSearch() {
|
|||||||
// showWelcome
|
// showWelcome
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
export function showWelcome() {
|
function showWelcome() {
|
||||||
hideProgressBar();
|
hideProgressBar();
|
||||||
|
|
||||||
// Restore or rebuild the dashboard with tabbed sections
|
// Restore or rebuild the dashboard with tabbed sections
|
||||||
@ -422,7 +422,7 @@ export function showWelcome() {
|
|||||||
// goHome
|
// goHome
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
export function goHome() {
|
function goHome() {
|
||||||
const searchInput = document.getElementById("search-input");
|
const searchInput = document.getElementById("search-input");
|
||||||
if (searchInput) searchInput.value = "";
|
if (searchInput) searchInput.value = "";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user