aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/index.ts
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-12-09 15:54:59 +0800
committerGitHub <noreply@github.com>2024-12-09 07:54:59 +0000
commit5675efb3e015fb8d87d86d1b79de2200f7dfb9af (patch)
tree5c5ad18d8a7fd31632f9d2f1dd4e6a65011c5271 /web_src/js/index.ts
parent2d13eafd69b368bc75faa25d7ecfbda98a0792f8 (diff)
downloadgitea-5675efb3e015fb8d87d86d1b79de2200f7dfb9af.tar.gz
gitea-5675efb3e015fb8d87d86d1b79de2200f7dfb9af.zip
Fix duplicate dropdown dividers (#32760)
Fix #27466 The problem is that any item in the menu could be hidden, pure CSS won't work, and dropdown's builtin "hideDividers" doesn't work with our "scope dividers". The newly introduced "archived" label makes the dividers regression more.
Diffstat (limited to 'web_src/js/index.ts')
-rw-r--r--web_src/js/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/js/index.ts b/web_src/js/index.ts
index f93c3495af..2964ef5572 100644
--- a/web_src/js/index.ts
+++ b/web_src/js/index.ts
@@ -29,7 +29,7 @@ import {
initRepoIssueWipTitle,
initRepoPullRequestMergeInstruction,
initRepoPullRequestAllowMaintainerEdit,
- initRepoPullRequestReview, initRepoIssueSidebarList,
+ initRepoPullRequestReview, initRepoIssueSidebarList, initRepoIssueLabelFilter,
} from './features/repo-issue.ts';
import {initRepoEllipsisButton, initCommitStatuses} from './features/repo-commit.ts';
import {initRepoTopicBar} from './features/repo-home.ts';
@@ -181,6 +181,7 @@ onDomReady(() => {
initRepoGraphGit,
initRepoIssueContentHistory,
initRepoIssueList,
+ initRepoIssueLabelFilter,
initRepoIssueSidebarList,
initRepoIssueReferenceRepositorySearch,
initRepoIssueWipTitle,