fix: add export to openFile in viewer.js
All checks were successful
CI / lint (push) Successful in 18s
CI / security (push) Successful in 7s
CI / test (push) Successful in 15s
CI / build (push) Successful in 6s

This commit is contained in:
Bruno Charest 2026-05-28 17:05:43 -04:00
parent 6a55dfd5eb
commit eab6c11dc4

View File

@ -312,7 +312,7 @@ const ReadingProgressManager = {
// ---------------------------------------------------------------------------
// File viewer
// ---------------------------------------------------------------------------
async function openFile(vaultName, filePath) {
export async function openFile(vaultName, filePath) {
state.currentVault = vaultName;
state.currentPath = filePath;
state.showingSource = false;