aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js
diff options
context:
space:
mode:
authormetiftikci <metiftikci@hotmail.com>2024-12-08 06:23:09 +0300
committerGitHub <noreply@github.com>2024-12-08 03:23:09 +0000
commitad994780af48e2aff27b0e7e496fd559dc0fe3fc (patch)
treebfb56cb5a16d5c44129e9c27ea6545bc8bae5583 /web_src/js
parent1518f4ed123ae5f4f094e7a335b1d1400949265d (diff)
downloadgitea-ad994780af48e2aff27b0e7e496fd559dc0fe3fc.tar.gz
gitea-ad994780af48e2aff27b0e7e496fd559dc0fe3fc.zip
fix: render job title as commit message (#32748)
resolves #32724 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/js')
-rw-r--r--web_src/js/components/RepoActionView.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue
index 909308262e..eecbf7ef55 100644
--- a/web_src/js/components/RepoActionView.vue
+++ b/web_src/js/components/RepoActionView.vue
@@ -51,6 +51,7 @@ const sfc = {
run: {
link: '',
title: '',
+ titleHTML: '',
status: '',
canCancel: false,
canApprove: false,
@@ -383,9 +384,8 @@ export function initRepositoryActionView() {
<div class="action-info-summary">
<div class="action-info-summary-title">
<ActionRunStatus :locale-status="locale.status[run.status]" :status="run.status" :size="20"/>
- <h2 class="action-info-summary-title-text">
- {{ run.title }}
- </h2>
+ <!-- eslint-disable-next-line vue/no-v-html -->
+ <h2 class="action-info-summary-title-text" v-html="run.titleHTML"/>
</div>
<button class="ui basic small compact button primary" @click="approveRun()" v-if="run.canApprove">
{{ locale.approve }}