diff --git a/web/src/components/repo/build/BuildItem.vue b/web/src/components/repo/build/BuildItem.vue index 28ecb2ee8..9d52ff851 100644 --- a/web/src/components/repo/build/BuildItem.vue +++ b/web/src/components/repo/build/BuildItem.vue @@ -33,7 +33,10 @@ - {{ build.branch }} + {{ + `#${build.ref.replaceAll('refs/pull/', '').replaceAll('/merge', '').replaceAll('/head', '')}` + }} + {{ build.branch }}
diff --git a/web/src/views/repo/RepoBuild.vue b/web/src/views/repo/RepoBuild.vue index 832b1e1e7..617f7217a 100644 --- a/web/src/views/repo/RepoBuild.vue +++ b/web/src/views/repo/RepoBuild.vue @@ -35,11 +35,15 @@ - {{ build.branch }} + {{ + `#${build.ref.replaceAll('refs/pull/', '').replaceAll('/merge', '').replaceAll('/head', '')}` + }} + {{ build.branch }}