Skip to content

Commit

Permalink
Merge pull request #121 from openzim/page_not_found
Browse files Browse the repository at this point in the history
Fix message displayed when UI is still loading
  • Loading branch information
benoit74 authored Dec 16, 2024
2 parents 58c7951 + e9cd286 commit e74d4a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zimui/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ watch(
v-if="main.pageContent"
v-html="main.pageContent.htmlBody"
></section>
<div v-else>Page not found</div>
<div v-else-if="main.isLoading">Page loading ...</div>
<!-- We do not display HomeView when error occured, so message below is never shown -->
<div v-else>No page loaded, problem occured, please try to reload.</div>
</article>
</main>
</template>

0 comments on commit e74d4a8

Please sign in to comment.