Skip to content

Custom view is not shown as active in the menu #956

@steventen

Description

@steventen

Checklist

  • The bug is reproducible against the latest release or master.
  • There are no similar issues or pull requests to fix it yet.

Describe the bug

The left menu item is not highlighted as active when visiting a custom view page created using the custom view documentation

This appears to be due to the identity not being correctly resolved by the is_active function in ViewMenu for custom views.

Steps to reproduce the bug

No response

Expected behavior

The Report Page should be highlighted (active) when visiting the page

Actual behavior

No response

Debugging material

No response

Environment

MacOS, Python 3.13, sqladmin 0.21.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions