Skip to content

Commit

Permalink
fix: viewer stuck on loading if ocis images are not available
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Aug 29, 2024
1 parent d6954ce commit 0e0f1e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ async function parseImageUrl(name: string) {
} else {
file = getMediaFile(name)
}
if (!file) {
return
}
const url = await getUrlForResource(unref(currentFileContext).space, file)
// reload the active files
// TODO: implement caching
Expand Down

0 comments on commit 0e0f1e2

Please sign in to comment.