Skip to content

Subpages list shows "No subpages" on first load in public share view #2401

Closed

Description

@Quintilien

When opening a publicly shared page (/share/{shareId}/p/{pageSlug}) that has
subpages, the "Subpages" block within the page body incorrectly shows
"No subpages" on initial load — even though the subpages exist and are
correctly listed in the sidebar tree at the same time.

A manual page refresh immediately fixes the display, showing the correct
list of subpages with their icons and titles.

Steps to reproduce:

  1. Create a page with at least one subpage
  2. Enable public sharing for the parent page
  3. Open the share URL fresh (new tab / first load)
  4. Observe: the sidebar tree shows subpages correctly, but the in-body
    "Subpages" block shows "No subpages"
  5. Refresh the page — the subpages block now displays correctly

Environment:

  • Reproduced on Docmost v0.90.1 and v0.95.0
  • Reproduced on Firefox and Safari (rules out browser-specific cache/cookie
    issues)

Expected behavior:
The in-body subpages block should reflect the same data as the sidebar on
first load, without requiring a manual refresh.

Activity

  1. added
    bug
    on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions