Skip to content

Fix bug where path starts with / #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged

Conversation

pelmered
Copy link
Contributor

@pelmered pelmered commented May 14, 2025

Haven't tested this much, but it should solve issue #43

Any leading / will now be trimmed from the path.

Copy link

what-the-diff bot commented May 14, 2025

PR Summary

  • Update to the 'getPanelUrl' Function
    The function that helps fetch the URL of the panel has been improved. It now effectively removes any unnecessary leading slashes from the panel path. This means smoother navigation and better URL structure.

@bezhanSalleh bezhanSalleh linked an issue May 14, 2025 that may be closed by this pull request
@bezhanSalleh bezhanSalleh merged commit f3a3224 into bezhanSalleh:3.x May 14, 2025
2 of 9 checks passed
@bezhanSalleh
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: panel with path '/ ' breaks after merging #41
2 participants