runs: use ref_type in place of event_type
This commit is contained in:
parent
ae520b1d0c
commit
932e2346dd
|
@ -93,7 +93,7 @@
|
||||||
<span>{{run.annotations.commit_sha.substring(0,8)}}</span>
|
<span>{{run.annotations.commit_sha.substring(0,8)}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-if="run.annotations.event_type == 'push'"
|
v-if="run.annotations.ref_type == 'branch'"
|
||||||
:href="run.annotations.branch_link"
|
:href="run.annotations.branch_link"
|
||||||
class="block"
|
class="block"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
<span>{{run.annotations.branch}}</span>
|
<span>{{run.annotations.branch}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-else-if="run.annotations.event_type == 'tag'"
|
v-else-if="run.annotations.ref_type == 'tag'"
|
||||||
:href="run.annotations.tag_link"
|
:href="run.annotations.tag_link"
|
||||||
class="block"
|
class="block"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
<span>{{run.annotations.tag}}</span>
|
<span>{{run.annotations.tag}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-else-if="run.annotations.event_type == 'pull_request'"
|
v-else-if="run.annotations.ref_type == 'pull_request'"
|
||||||
:href="run.annotations.pull_request_link"
|
:href="run.annotations.pull_request_link"
|
||||||
class="block"
|
class="block"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<span>{{run.annotations.commit_sha.substring(0,8)}}</span>
|
<span>{{run.annotations.commit_sha.substring(0,8)}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-if="run.annotations.event_type == 'push'"
|
v-if="run.annotations.ref_type == 'branch'"
|
||||||
:href="run.annotations.branch_link"
|
:href="run.annotations.branch_link"
|
||||||
class="block whitespace-no-wrap overflow-x-hidden"
|
class="block whitespace-no-wrap overflow-x-hidden"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
<span>{{run.annotations.branch}}</span>
|
<span>{{run.annotations.branch}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-else-if="run.annotations.event_type == 'tag'"
|
v-else-if="run.annotations.ref_type == 'tag'"
|
||||||
:href="run.annotations.tag_link"
|
:href="run.annotations.tag_link"
|
||||||
class="block"
|
class="block"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
<span>{{run.annotations.tag}}</span>
|
<span>{{run.annotations.tag}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-else-if="run.annotations.event_type == 'pull_request'"
|
v-else-if="run.annotations.ref_type == 'pull_request'"
|
||||||
:href="run.annotations.pull_request_link"
|
:href="run.annotations.pull_request_link"
|
||||||
class="block"
|
class="block"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
Loading…
Reference in New Issue