Skip to content

Commit e83d433

Browse files
committed
fix
1 parent 22b92e3 commit e83d433

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/js/components/RepoActionView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,8 @@ export default defineComponent({
601601
</div>
602602
</div>
603603
</div>
604-
<div class="job-step-container" ref="stepsContainer" v-if="currentJob.steps.length">
604+
<!-- always create the node because we have our own event listeners on it, don't use "v-if" -->
605+
<div class="job-step-container" ref="stepsContainer" v-show="currentJob.steps.length">
605606
<div class="job-step-section" v-for="(jobStep, i) in currentJob.steps" :key="i">
606607
<div class="job-step-summary" @click.stop="isExpandable(jobStep.status) && toggleStepLogs(i)" :class="[currentJobStepsStates[i].expanded ? 'selected' : '', isExpandable(jobStep.status) && 'step-expandable']">
607608
<!-- If the job is done and the job step log is loaded for the first time, show the loading icon

0 commit comments

Comments
 (0)