File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /
2
+ .idea /
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ const getDescription = (issueNumberElement) => () => {
103
103
} ;
104
104
105
105
function getProject ( ) {
106
+ console . log ( 'getProject' )
106
107
const project = '' ;
107
108
let projectElement ;
108
109
@@ -126,8 +127,8 @@ function getProject () {
126
127
}
127
128
}
128
129
129
- projectElement = $ ( '[data-test-id="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]' ) ;
130
-
130
+ projectElement = $ ( '[data-test-id="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]' ) || $ ( '[data-testid="issue.views.issue-base.foundation.breadcrumbs.project.container"]' )
131
+ console . log ( { projectElement } )
131
132
if ( projectElement ) {
132
133
const projectWrapper = projectElement . parentElement . querySelector ( 'a[href*="browse"] span + span' ) ;
133
134
return projectWrapper ? projectWrapper . textContent . trim ( ) : '' ;
You can’t perform that action at this time.
0 commit comments