Skip to content

Commit 57539bc

Browse files
authored
Fix click handler in job-step-summary (#30122)
Fix mistake from #29977 where the click handler wasn't updated for the change with the `isExpandable` function.
1 parent 538790a commit 57539bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/RepoActionView.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export function initRepositoryActionView() {
463463
</div>
464464
<div class="job-step-container" ref="steps" v-if="currentJob.steps.length">
465465
<div class="job-step-section" v-for="(jobStep, i) in currentJob.steps" :key="i">
466-
<div class="job-step-summary" @click.stop="jobStep.status !== 'skipped' && toggleStepLogs(i)" :class="[currentJobStepsStates[i].expanded ? 'selected' : '', isExpandable(jobStep.status) && 'step-expandable']">
466+
<div class="job-step-summary" @click.stop="isExpandable(jobStep.status) && toggleStepLogs(i)" :class="[currentJobStepsStates[i].expanded ? 'selected' : '', isExpandable(jobStep.status) && 'step-expandable']">
467467
<!-- If the job is done and the job step log is loaded for the first time, show the loading icon
468468
currentJobStepsStates[i].cursor === null means the log is loaded for the first time
469469
-->

0 commit comments

Comments
 (0)