Skip to content

Commit 0ac8b77

Browse files
GiteaBotyp05327
andauthored
Fix typo of RunerOwnerID (#26508) (#26528)
Backport #26508 by @yp05327 Co-authored-by: yp05327 <[email protected]>
1 parent 762d424 commit 0ac8b77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/web/shared/actions/runners.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func RunnersList(ctx *context.Context, opts actions_model.FindRunnerOptions) {
5353
ctx.Data["Runners"] = runners
5454
ctx.Data["Total"] = count
5555
ctx.Data["RegistrationToken"] = token.Token
56-
ctx.Data["RunnerOnwerID"] = opts.OwnerID
56+
ctx.Data["RunnerOwnerID"] = opts.OwnerID
5757
ctx.Data["RunnerRepoID"] = opts.RepoID
5858

5959
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)

templates/shared/actions/runner_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
</td>
7272
<td>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</td>
7373
<td class="runner-ops">
74-
{{if .Editable $.RunnerOnwerID $.RunnerRepoID}}
74+
{{if .Editable $.RunnerOwnerID $.RunnerRepoID}}
7575
<a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
7676
{{end}}
7777
</td>

0 commit comments

Comments
 (0)