Skip to content

Commit

Permalink
Fix incorrect last online time in runner_edit.tmpl (#24376)
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 authored Apr 27, 2023
1 parent 92fd3fc commit 62ca582
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 disabled">
<label>{{.locale.Tr "actions.runners.last_online"}}</label>
<span>{{TimeSinceUnix .Runner.LastOnline $.locale}}</span>
<span>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
</div>
<div class="field gt-dib gt-mr-4 disabled">
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
Expand Down

0 comments on commit 62ca582

Please sign in to comment.