Closed
Description
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.
index.js?v=1.17.2:7
ReferenceError: isViewTag is not defined
at Bi.eval (eval at $c (index.js?v=1.17.2:21:112), <anonymous>:3:767)
at e._render (index.js?v=1.17.2:7:164415)
at Bi.n (index.js?v=1.17.2:7:168502)
at Kt.get (index.js?v=1.17.2:7:171407)
at new Kt (index.js?v=1.17.2:7:171329)
at ne (index.js?v=1.17.2:7:168516)
at Bi.$mount (index.js?v=1.17.2:7:214183)
at Bi.$mount (index.js?v=1.17.2:23:651)
at Va.e._init (index.js?v=1.17.2:7:175292)
at new Bi (index.js?v=1.17.2:7:175984)
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