mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-16 11:16:20 +00:00
fix: correctly determine project for issue
This commit is contained in:
@@ -108,7 +108,7 @@ function issueToString(issue: any,
|
||||
issue: issue,
|
||||
// take the first URL from the merge request urls array (usually if there are URLs, then there is that only one)
|
||||
mergeRequestUrl: getMergeRequestUrls(projectMergeRequests, issue.project_id, issue.iid)[0],
|
||||
project: Api.getProjectPath(issue),
|
||||
project: issue.web_url.replace('https://gitlab.com/', '').split('/issues/')[0],
|
||||
weeksOpen: moment().diff(moment(issue.created_at), 'weeks'),
|
||||
});
|
||||
/* tslint:enable */
|
||||
|
||||
Reference in New Issue
Block a user