1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00

Show correct event in pipeline step list (#2334)

Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2207


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e1a1dcf9-c47b-4089-8187-789bfd54e1a7)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/5432cf7d-fe31-4182-87f7-5622fc1abe3c)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
Robert Kaussow 2023-08-28 08:08:53 +02:00 committed by GitHub
parent e139abf15a
commit 15bd20d58b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'">