diff --git a/routers/web/shared/actions/runners.go b/routers/web/shared/actions/runners.go index a12a3a5ab2..b6f756a4ae 100644 --- a/routers/web/shared/actions/runners.go +++ b/routers/web/shared/actions/runners.go @@ -124,7 +124,6 @@ func RunnerDetailsEditPost(ctx *context.Context, runnerID, ownerID, repoID int64 return } if !runner.Editable(ownerID, repoID) { - err = errors.New("no permission to edit this runner") ctx.NotFound("RunnerDetailsEditPost.Editable", util.NewPermissionDeniedErrorf("no permission to edit this runner")) return } diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index 448c80de47..de01f80288 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -55,8 +55,7 @@ </div> <!-- the log elements could be a lot, do not use v-if to destroy/reconstruct the DOM --> - <div class="job-step-logs" ref="elJobStepLogs" v-show="currentJobStepsStates[i].expanded"> - </div> + <div class="job-step-logs" ref="elJobStepLogs" v-show="currentJobStepsStates[i].expanded"/> </div> </div> </div> diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 3ae36b352b..e8355dd028 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2613,7 +2613,7 @@ &.webhooks .list > .item:not(:first-child), &.githooks .list > .item:not(:first-child), - &.runners .list > .item:not(:first-child){ + &.runners .list > .item:not(:first-child) { padding: .25rem 1rem; margin: 12px -1rem -1rem; }