We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79995a8 commit 3673200Copy full SHA for 3673200
web_src/js/components/RepoActionView.vue
@@ -74,7 +74,7 @@
74
<SvgIcon name="octicon-gear" :size="18"/>
75
</button>
76
<div class="menu transition action-job-menu" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak>
77
- <a class="item" :href="run.link+'/jobs/'+jobIndex+'/logs'" target="_blank">
+ <a :class="['item', currentJob.steps.length === 0 ? 'disabled' : '']" :href="run.link+'/jobs/'+jobIndex+'/logs'" target="_blank">
78
<i class="icon"><SvgIcon name="octicon-download"/></i>
79
{{ locale.downloadLogs }}
80
</a>
0 commit comments