-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Branch selector disappears immediately (isViewTag is not defined) #21354
Comments
A lot of users are using Gitea 1.17.x, no other has such problem, it doesn't seem to be a Gitea's problem. Since I know nothing about your environment, I couldn't provide more helps besides:
|
Since it doesn't seem to be a Gitea bug, I will close this issue. Feel free to re-open if you can reproduce it with a fresh setup and confirm it's a bug, or if you would propose some solutions for the edge cases or update the documents to help to future users to get rid of similar problems. |
This problem was caused by static files from a previous release. Read more here: #21329 (comment) |
Description
The branch selector appears upon loading, then immediately disappers, just like in #19851. However there are no CSP console errors, and adding in the CSP from that issue into nginx doesn't fix the problem.
There is a different console error. This error only appears on repository pages where the branch selector should be. Other pages do not have errors.
It works on the demo site, but that uses v1.18.
Linux binary 1.17.2 running through an Nginx proxy available under https//domain/git.
Removing all templates doesn't fix the problem.
An incognito window doesn't help.
Screenshots
Mine:
Expected:
Gitea Version
1.17.2 Linux binary
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Win11/64
Browser Version
Edge 105.0.1343.53
Database
Mysql
The text was updated successfully, but these errors were encountered: