Show correct event in pipeline step list (#2448)

Backport [#2334](https://github.com/woodpecker-ci/woodpecker/pull/2334)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
(cherry picked from commit 15bd20d58b)
This commit is contained in:
Robert Kaussow
2023-09-12 16:21:59 +02:00
committed by GitHub
parent 90310de6f1
commit 1a164fe9cd

View File

@@ -24,7 +24,7 @@
<Icon name="pull_request" />
<span class="truncate">{{ prettyRef }}</span>
</a>
<span v-if="pipeline.event !== 'pull_request'" class="truncate">{{ pipeline.branch }}</span>
<span v-if="pipeline.event !== 'pull_request'" class="truncate">{{ prettyRef }}</span>
</div>
<div class="flex items-center flex-shrink-0">
<template v-if="pipeline.event === 'pull_request'">