Skip to content

Commit 0ac69ef

Browse files
authored
Merge branch 'main' into lunny/upgrade_1.25.3
2 parents ad3340c + 9ae2e9e commit 0ac69ef

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

routers/web/auth/oauth2_provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ func handleAuthorizationCode(ctx *context.Context, form forms.AccessTokenForm, s
636636
ErrorCode: oauth2_provider.AccessTokenErrorCodeInvalidRequest,
637637
ErrorDescription: "cannot proceed your request",
638638
})
639+
return
639640
}
640641
resp, tokenErr := oauth2_provider.NewAccessTokenResponse(ctx, authorizationCode.Grant, serverKey, clientKey)
641642
if tokenErr != nil {

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)