We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dd5334 commit 3422a2aCopy full SHA for 3422a2a
src/main.ts
@@ -727,7 +727,6 @@ const enhanceIssueCard: MutationCallback = async (
727
createIssueCardMergeRequestInfo(infoItems, opened, total);
728
729
// Collect rollover count for the issue
730
-
731
const iterationEvents =
732
(await fetchGitLabData<IterationEvent[]>(
733
getApiUrl(
@@ -774,7 +773,8 @@ const mergeRequestListRegex = /\/merge_requests(?!\/\d+)/;
774
773
775
const epicListRegex = /\/epics(?!\/\d+)/;
776
777
-const issueBoardRegex = /\/boards\/\d+/;
+// When the board is the only board in the repo, the url is `/boards`
+const issueBoardRegex = /\/boards(?:\/\d+)?(?:\/)?(?:\?|$)/;
778
779
const enhance = () => {
780
if (mergeRequestListRegex.test(window.location.href)) {
0 commit comments