fix: add export to openFile in viewer.js
This commit is contained in:
parent
6a55dfd5eb
commit
eab6c11dc4
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user