diff options
author | metiftikci <metiftikci@hotmail.com> | 2024-12-08 06:23:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-08 03:23:09 +0000 |
commit | ad994780af48e2aff27b0e7e496fd559dc0fe3fc (patch) | |
tree | bfb56cb5a16d5c44129e9c27ea6545bc8bae5583 /web_src/js/components/RepoActionView.vue | |
parent | 1518f4ed123ae5f4f094e7a335b1d1400949265d (diff) | |
download | gitea-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/components/RepoActionView.vue')
-rw-r--r-- | web_src/js/components/RepoActionView.vue | 6 |
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 }} |