Skip to content

Commit

Permalink
Fix action runner last online state on edit page (#25337)
Browse files Browse the repository at this point in the history
Backport fix for action runner last online state not showing in
`release/v1.20` - fixes #25336
  • Loading branch information
derelm authored Jun 18, 2023
1 parent aa4c9c3 commit 0543159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shared/actions/runner_edit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div class="field gt-dib gt-mr-4">
<label>{{.locale.Tr "actions.runners.last_online"}}</label>
<span>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
<span>{{if .Runner.LastOnline}}{{TimeSinceUnix .Runner.LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
</div>
<div class="field gt-dib gt-mr-4">
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
Expand Down

0 comments on commit 0543159

Please sign in to comment.