|
@@ -65,7 +65,10 @@ globalThis.app = Vue.createApp
|
|
|
loadDocumentForPath: (path) ->
|
|
loadDocumentForPath: (path) ->
|
|
|
try
|
|
try
|
|
|
@appState.loading = true
|
|
@appState.loading = true
|
|
|
|
|
+ debug.log ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
|
|
|
doc = await AppDB.getDocumentByPath(path, AppDB.currentLanguage)
|
|
doc = await AppDB.getDocumentByPath(path, AppDB.currentLanguage)
|
|
|
|
|
+ debug.dir doc
|
|
|
|
|
+ debug.log "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
|
|
|
@appState.currentDocument = doc
|
|
@appState.currentDocument = doc
|
|
|
@appState.loading = false
|
|
@appState.loading = false
|
|
|
|
|
|