0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-15 19:44:24 -04:00

Update JS deps, misc tweaks (#35643)

- Update all JS dependencies
- Enable eslint `no-useless-assignment` and fix 2 discovered issues
- Replace `gitea-vscode` svg with new `octicon-vscode`
- Remove now-unused `@ts-expect-error` comments
- Change Monaco wrapping behaviour to match the wrapping in code view:
no wrapping indent and break on any character.
This commit is contained in:
silverwind
2025-10-12 23:07:15 +02:00
committed by GitHub
parent 912515e63a
commit 49a0a11f55
11 changed files with 654 additions and 580 deletions

View File

@@ -53,7 +53,7 @@ function checkAuth() {
}
function checkItems(tokenAuth: boolean) {
let enableItems = false;
let enableItems: boolean;
if (tokenAuth) {
enableItems = token?.value !== '';
} else {