FlowFuse / FlowFuse/node-red-dashboard
Incorrect routing path for duplicate page names
- Dominant language
- HTML
- Stars
- 355
- Forks
- 82
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 24
Description
### Current Behavior
Hi guys,
It seems that some time ago I have created two pages with the same name:

This was not intended, because of course it makes no sense to have duplicate names in the dashboard menu.
Anyway it can also happen if you import a flow from a user to assist him with something...
Both menu items show up in my dashboard, but when you click them they both refer to the same path:

When I change one of the page names, the problem is immediately solved.
### Expected Behavior
I would expect that the correct path of each page is being used.
### Steps To Reproduce
Create two pages with the same name.
### Environment
- Dashboard version: v1.14.0
- Node-RED version: v3.1.3
- Node.js version: v18.19.0
- npm version:
- Platform/OS: Linux 6.1.0-rpi7-rpi-v8 arm64 LE
- Browser: Chrome
### Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.