Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 62ca582

Browse files
authoredApr 27, 2023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎templates/shared/actions/runner_edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
<div class="field gt-dib gt-mr-4 disabled">
1515
<label>{{.locale.Tr "actions.runners.last_online"}}</label>
16-
<span>{{TimeSinceUnix .Runner.LastOnline $.locale}}</span>
16+
<span>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
1717
</div>
1818
<div class="field gt-dib gt-mr-4 disabled">
1919
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>

0 commit comments

Comments
 (0)
Please sign in to comment.