mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 07:24:31 +00:00
Two bugs fixed in navigateTo: 1. When a category has visibilityifnocontent: hidden (default) and the current page has no variant for it, the renderer now silently switches to the default category before fetching. Previously the category stayed active (kept visible in the selector via the activeCategory guard), the fetch failed, and an error page was shown. 2. The offline message stored in localStorage was shown for any failed fetch, not just genuine offline situations. Now gated on !navigator.onLine so missing pages always show pagenotfoundmessage instead. |
||
|---|---|---|
| .. | ||
| assets | ||
| pages | ||
| posts | ||
| config.yml | ||
| index.html | ||
| manifest.json | ||
| nav.yml | ||
| search.json | ||
| service-worker.js | ||
| theme.yml | ||