NoHeader variable is not recognized in Regional-URL view
floriandrott opened this issue · comments
Describe the bug
The Regional view is not recognizing in the URL the "NoHeader" variable. Setting "NoHeader" to 1 or 0 does not take any affect.
To Reproduce
Steps to reproduce the behavior:
- Go to https://bahn.expert/regional/N%C3%BCrnberg-Schweinau
- Modify the URL to https://bahn.expert/regional/N%C3%BCrnberg-Schweinau?noHeader=1
- Reload page
- Header is still displayed
Expected behavior
Header is not shown anymore.
Desktop (please complete the following information):
- OS: Mac
- Browser Chrome
- Version latest
Additional context
It seems like that in
bahn.expert/src/client/Regional/index.tsx
Line 29 in 6e16487