File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ async function enhanceIssueDetailPage() {
747747 ) ;
748748}
749749
750- function enhanceIssueList ( ) {
750+ export function enhanceIssueList ( ) {
751751 ensurePanelLayout ( ) ;
752752
753753 waitForKeyElements ( 'ul.issues-list > li' , ( issue : Element ) => {
@@ -852,8 +852,6 @@ const mergeRequestDetailRegex = /\/merge_requests\/(\d+)/;
852852
853853const mergeRequestListRegex = / \/ m e r g e _ r e q u e s t s (? ! \/ \d + ) / ;
854854
855- const epicListRegex = / \/ e p i c s (? ! \/ \d + ) / ;
856-
857855// When the board is the only board in the repo, the url is `/boards`
858856const issueBoardRegex = / \/ b o a r d s (?: \/ \d + ) ? (?: \/ ) ? (?: \? | $ ) / ;
859857
@@ -870,11 +868,6 @@ const enhance = () => {
870868 enhanceIssueDetailPage ( ) ;
871869 }
872870
873- if ( epicListRegex . test ( window . location . href ) ) {
874- // epic list has the same style with issue list.
875- enhanceIssueList ( ) ;
876- }
877-
878871 if ( issueBoardRegex . test ( window . location . href ) ) {
879872 enhanceIssueBoard ( ) ;
880873 }
You can’t perform that action at this time.
0 commit comments