diff options
author | silverwind <me@silverwind.io> | 2024-03-27 04:50:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 03:50:24 +0000 |
commit | 57539bcdc024110c890320e3e785bf3d6ad6df55 (patch) | |
tree | 851e1737881b00fc6c72fdacac865bcb7cd3a9a6 /web_src/js | |
parent | 538790ad1db8bf66942ff2ead4ef78df5ab8b702 (diff) | |
download | gitea-57539bcdc024110c890320e3e785bf3d6ad6df55.tar.gz gitea-57539bcdc024110c890320e3e785bf3d6ad6df55.zip |
Fix click handler in job-step-summary (#30122)
Fix mistake from https://github.com/go-gitea/gitea/pull/29977 where the
click handler wasn't updated for the change with the `isExpandable`
function.
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/components/RepoActionView.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index d56192526e..75cd1db70a 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -463,7 +463,7 @@ export function initRepositoryActionView() { </div> <div class="job-step-container" ref="steps" v-if="currentJob.steps.length"> <div class="job-step-section" v-for="(jobStep, i) in currentJob.steps" :key="i"> - <div class="job-step-summary" @click.stop="jobStep.status !== 'skipped' && toggleStepLogs(i)" :class="[currentJobStepsStates[i].expanded ? 'selected' : '', isExpandable(jobStep.status) && 'step-expandable']"> + <div class="job-step-summary" @click.stop="isExpandable(jobStep.status) && toggleStepLogs(i)" :class="[currentJobStepsStates[i].expanded ? 'selected' : '', isExpandable(jobStep.status) && 'step-expandable']"> <!-- If the job is done and the job step log is loaded for the first time, show the loading icon currentJobStepsStates[i].cursor === null means the log is loaded for the first time --> |