fix: add export to openFile in viewer.js
This commit is contained in:
@@ -312,7 +312,7 @@ const ReadingProgressManager = {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// File viewer
|
// File viewer
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
async function openFile(vaultName, filePath) {
|
export async function openFile(vaultName, filePath) {
|
||||||
state.currentVault = vaultName;
|
state.currentVault = vaultName;
|
||||||
state.currentPath = filePath;
|
state.currentPath = filePath;
|
||||||
state.showingSource = false;
|
state.showingSource = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user